The multiple open browser window issue is an old problem for session management and I wonder if it's been solved elsewhere.
With different browsers handling cookies differently for multiple windows it might be hard to find a catchall solution. Just off the top of my head: You may want to generate a unique id in JavaScript for each window your client opens and pass this to the server during requests. Then either you can manage session data individually (individual distinct session per window) or simply invalidate the old id (single session with a max of one window). If the user attempts to use the old window with the expired id you can give a message to the client stating only one window can be used at a time. Matt Penner -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bil Corry Sent: Tuesday, October 09, 2007 11:55 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Session management in an Ajax app Michael Geary wrote on 10/9/2007 1:27 PM: > It's still an interesting bit of code (of course I would say that!) - > the $.expire function shows how easy it is to augment an existing > JavaScript function with new behavior. It *is* interesting, thanks for sharing the code. We display a countdown timer on the bottom of the page so the user is aware of how much time they have until they're booted out, and if the user needs more time, they click on the timer to reset it (which pings the server to keep their server-side session active). Currently, we manually reset the timer for the user when they do certain actions, but having the timer auto-reset when performing an ajax call would be handy. - Bil