Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cookie and Session
#1
Hi, is there any native python module that I can use to work with cookie and session ?
Reply
#2
I've never tried it but this may do what you want:

https://pypi.org/project/sanic-cookies/
Reply
#3
It's a task, but perhaps you can find something here
Reply
#4
requests supports working with Cookies and Sessions
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
I appreciate the help, but I need work with native and official language modules. That's why the question was about a native python module and not official third parties.
Reply
#6
(Apr-14-2020, 12:05 PM)JohnnyCoffee Wrote: I need work with native and official language modules
I thought this might be the case.
I know probably it's not under your control, but limiting yourself to just Python Standard Library will make you reinvent the wheel for a lot ot things.
As to the requests - it was transferred to PSF last year and the repo is under their control.

From Standard library I think you should look at urllib.request
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#7
(Apr-14-2020, 12:36 PM)buran Wrote:
(Apr-14-2020, 12:05 PM)JohnnyCoffee Wrote: I need work with native and official language modules
I thought this might be the case.
I know probably it's not under your control, but limiting yourself to just Python Standard Library will make you reinvent the wheel for a lot ot things.
As to the requests - it was transferred to PSF last year and the repo is under their control.

From Standard library I think you should look at urllib.request

Thank.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extract Httponly, Secure, domain and path from a cookie randeniyamohan 0 584 Jan-26-2020, 04:59 PM
Last Post: randeniyamohan
  Save Cookie header value in var DavidFernandez 0 879 Aug-24-2018, 07:30 PM
Last Post: DavidFernandez
  Powershell Session translation to Python; Session code seems to not work Maverick494 1 1,789 Jun-26-2018, 05:16 PM
Last Post: Maverick494

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020