Cookie encoding
Duncan Booth
duncan at NOSPAMrcp.co.uk
Tue Apr 30 05:11:50 EDT 2002
Terry Hancock <hancock at anansispaceworks.com> wrote in
news:mailman.1020145372.5420.python-list at python.org:
> I'm trying to put a builtin Python object into an HTTP
> cookie for saving state information in a Zope web app.
Can you not use SESSION.set() which would save your object locally and just
put a session id in the cookie?
--
Duncan Booth duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
More information about the Python-list
mailing list