2. if the user simply closes the browser, you have no option but to wait for the session to expire. Maybe all you really want is a shorter session timeout.; but
I'm sure that I've read that it's possible, using Javascript, to detect if a client closes the browser & if that's true, then you could use an AJAX call to invalidate the session. Having said that, unless the you store huge amounts of data in the session, it probably won't be too much of a problem to wait for the session to timeout on its own. Regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]