How to set cookie in client machine

Good Z goodz158 at yahoo.com
Tue Oct 14 01:39:00 EDT 2008


Hello,


I want to set {name, value} cookie on client machine. 

My requirement is that when user comes to the website hosted on our server and login into his account, we would like to set user specific information in cookie (on his machine) that will be used later when HTTP request comes in. Is there a generic program that may help me out in setting the cookie on client machine? 

I will not be able to use HttpResponse and set cookie in it since within the program i need to redirect it to different URL. 

Regards,
Mike


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081013/88e32d5c/attachment.html>


More information about the Python-list mailing list