On Nov 30, 2003, at 10:50 AM, Uzo Uzo wrote:
Well, I got it seeing my cookies, the search on the discuss is broken as of now, so I can't search further on it.� But my app is still broken.� I still have more questions, when I receive a cookie, how do I check if it is expired?� Does webware help at all? or must my app save that information and validate the expiration of the cookie everytime?� Also where is the best place to handle it, in the awake or respond cycle?�

When you receive a cookie, all you get is the text value of the cookie. You won't know when it expires, what its path is, or anything else -- this information simply isn't provided by the browser. If you want anything more sophisticated than simple, short text values, I'd recommend using the session.


I'd generally put the cookie handling in awake(), but there's nothing wrong with handling it elsewhere.

--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to