Revision history [back]

click to hide/show revision 1
initial version

asked 2018-02-28 01:13:36 +0800

softteam gravatar image softteam

Sessions tomcat DesktopCleanup

Hi all,

I have an application with user login, when the user log out its easy to clean the session but the user not always use the log out, some times just close the page or pages. One session has one or more desktops and when the user close or refresh one page DesktopCleanup is triggered, I use an Integer to know how many desktops the user have on the session so when the user close all desktops I could kill Session, the problem is that when only 1 desktop left if the user refresh this I don't know if the user closed o refresh the page, is there any way to know if DesktopCleanup is triggered by Close or Refresh page?

Thanks.

Sessions tomcat DesktopCleanup

Hi all,

I have an application with user login, when the user log out its easy to clean the session but the user not always use the log out, some times sometimes just close the page or pages. One session has one or more desktops and when the user close or refresh one page DesktopCleanup is triggered, I use an Integer to know how many desktops the user have on the session so when the user close all desktops I could kill Session, the problem is that when only 1 desktop left if the user refresh this I don't know if the user closed o refresh the page, is there any way to know if DesktopCleanup is triggered by Close or Refresh page?

Thanks.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More