Hey everyone,

I've recently needed to use python to retrieve a cookie from someone visiting my web site. This is all needing to be done server-side, so I will (i think) need to use the Cookie module. I've looked online everywhere, and I'm having a hard time figuring out exactley what I need to do to retrieve a cookie from a visiting browser. I already have code in place that writes a cookie (using javascript), but for my purposes, reading a cookie in python would make my life MUCH easier. I've browsed http://pydoc.org/2.4.1/Cookie.html, but it isn't making much sense to me.

Any pointers on how to do this would be much appreciated. Thanks in advance.

vital101

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.