reset password
Author Message
abhishek_sharma
Posts: 79
Posted 12:29 Jan 04, 2013 |

I want 1 user session and after going through I made following changes

In web.xml I added

    <listener>
        <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
    </listener>

In security.xaml I added

        <session-management session-authentication-error-url="/login.html" invalid-session-url="/home.html">
            <concurrency-control  max-sessions="1" error-if-maximum-exceeded="true"/>
        </session-management>

But still I can login from two different browser at the same time. Is I am doing anything wrong. It's been while I am trying to make this work . If anyone can help me