Invalidating session in spring

Rated 4.9/5 based on 573 customer reviews

so the other user can login with the kicked session user name.

The basic configuration of Spring Logout functionality using the security namespace support is simple enough: Any custom application logic that needs to run when the user successfully logs out can be implemented with custom logout success handler.

I am a little new to this, and all I did was tried Sock JS and Socket.

IO but without any success because of my lack of understanding on how to do this."Invalidating previous session for agent: " agent Id); String session Id = null; if (cache Value(agent Id "_session") !

As per the requirement, we are showing an alert saying some user is already logged in with same id and you want to continue by killing that session.

If the User B agrees, we need to kick the User A out of system.

Leave a Reply