如何使 Spring Web Flow 中的会话无效?

问题描述:

当用户从一侧登录而另一个用户使用相同的密码和用户名(来自另一台机器)登录时,每次当第二个用户使第一个会话无效时,第一个用户会自动注销.我正在使用服务器端会话,我在数据库中有登录标志用户是否已经登录.任何想法朋友

when user login one side and another user login from same password and user name (from another machine ) ,at that time first user logout from automatically on every time when second user invalidate the first session. I am using the server side session , i have login flag in data base user is already login or not .any idea friends

如果您尝试使用 Spring Security Single Sign-On 实现会更好.

It is better if you try with Spring Security Single Sign-On implementation.

这个链接可能对你有用http://www.mkyong.com/教程/spring-security-tutorials/