I would like to destroy sessions on the server side when the person closes their browser. I know that their session is destroyed and the cookie is gone when they close the browser, is there any way to do this on the server side?
thanks in advance.
Michael R. Bright
------------------------------------------------------------------------
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
Set a reasonable expiry time and push the time back if you can detect that they're active. To my knowledge there isn't any other "good" way to do this. You could have some kind of javascript onclose() thing, but that may not work in all cases.
-- Andrew Jorgensen
smime.p7s
Description: S/MIME Cryptographic Signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
