Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Killing User Sessions upon closing window

Guest
Oct 09, 2008 Oct 09, 2008
How can we kill the user session people if people just go in and close the window by hitting x on the top of the browser? Any feedback and help would be greatly appreciated.
316
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 09, 2008 Oct 09, 2008
LATEST
Technically, you can't kill a user's session upon them closing the window.

What you _can_ do is use J2EE session tracking, or a transient cookie that gets deleted when the browser quits. That still doesn't kill the session when they close the window. The session remains active until the timeout time has elapsed.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources