Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i end a user session using javascript and onunload

Status
Not open for further replies.

markponsford

IS-IT--Management
Jul 12, 2000
1
GB
I want to know if it is possible to end a session on an apache web server.<br>When the user closes their browser I want to use onunload and javascript to send a message to the server to end that users session.<br><br>Is this feasable???<br><br>Any help gratefully recieved.
 
HTTP is stateless. This means when the server has finished sending a page to a browser, the connection is closed. Therefor you don't need to close a session!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top