Paul,
I was thinking about this earlier. I would be nice if there was an $.ajaxSessionExpired() function. Adobe's SPRY library just released an update, where if the incoming data request contains just the text "session expired", then they fire off a special event. Implementing something like that I wouldn't think would be too difficult-where jQuery examined the text look for a specific token string. -Dan _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Sent: Wednesday, March 21, 2007 6:34 PM To: 'jQuery Discussion.' Subject: [jQuery] a better way to handle sessions I have a getScreen() function that handles navigation within my application. Its first task is calling a validateSession() function, which interacts with the server to assure the user is logged in. Is there a better way to handle sessions in ajax apps?
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/