durusmail: quixote-users: cookies
cookies
2002-05-28
2002-05-28
2002-05-28
2002-05-28
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
cookies
Patrick K. O'Brien
2002-05-28
I'm having trouble figuring out how to work with cookies in Quixote. I'm
sure I'm just overlooking something minor, but it's starting to bug me. If
anyone has any simple examples of setting and getting cookies that they
wouldn't mind sharing it would really help.

What I'm trying to do is allow the user to select a style sheet and save the
selection via a cookie.(I'm saving a simple string that works as the key to
a dictionary of style sheet links, actually.) Then the function that builds
my pages will get the user's style from the cookie, or default to the
default style. I'll be happy to share this technique once I get it working.

Thanks.

---
Patrick K. O'Brien
Orbtech



reply