0

How to invalidate all active sessions in BlazeDS during maintenance window?

When the system administrator wants to perform maintenance tasks, we will display a warning message to all the users of the flex application that the system will be offline after 30 minutes. Once the countdown is finished, we would like to close all the sessions that are active. If users perform any request to the system, it will be kicked off and redirect to a maintenance page. We are not planning to shutdown the system.

How to achieve above without manually keep track of all active sessions?

Thanks.

Lee Chee Kiam
  • 11,450
  • 10
  • 65
  • 87

1 Answers1

1

There is nothing in BlazeDS which can help you to invalidate all the sessions..so you will have to rely on your tracking code. Or maybe you can find a specific solution for your application server (see this link)

Community
  • 1
  • 1
Cornel Creanga
  • 5,311
  • 1
  • 22
  • 28
  • Here is how tracking code looks http://stackoverflow.com/questions/3960711/how-can-i-expire-all-my-sessions-in-tomcat/3964797#3964797 – Lee Chee Kiam Apr 26 '11 at 01:21