I have sent you the code of applicationsecurity.xml. I dont want the user to relogin with same username if it is already logged in. How can i handle this concurrent session problem please tell me in detail. when i implemneted myself i got the problem that user can't log in even after proper logout.
John Kwon wrote: > > I guess I'm curious, since I don't have a problem with sessions in Acegi. > My users log out and log back in without a problem. > > Can you give more details about your application? > > > On 12/3/07, ujjala <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> I have implemented the following in applicationContext-Security.xml,to >> handle concurrent sessions, the following works fine in terms of >> concurrent >> session handling but the user is even after logging out is not able to re >> login. The session is not expiring. >> >> The application is running on WAS 5.0 and has DB2 as the database. >> The MVC uses Struts >> >> >> <bean id="concurrentSessionFilter" >> class="org.acegisecurity.concurrent.ConcurrentSessionFilter"> >> <property name="expiredUrl" value="/logout.jsp"/> >> <property name="sessionRegistry" ref="sessionRegistry"/> >> </bean> >> <!-- Concurrent session control --> >> <bean id="concurrentSessionController" >> >> class="org.acegisecurity.concurrent.ConcurrentSessionControllerImpl"> >> <property name="maximumSessions" value="1"/> >> <property name="sessionRegistry" ref="sessionRegistry"/> >> <property name="exceptionIfMaximumExceeded" value="true"/> >> </bean> >> <bean id="sessionRegistry" >> class="org.acegisecurity.concurrent.SessionRegistryImpl"/> >> >> Thanks Ujjala >> >> -- >> View this message in context: >> http://www.nabble.com/concurrent-session-problem-pls-help-tf4935676s2369.html#a14127505 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/concurrent-session-problem-pls-help-tf4935676s2369.html#a14145455 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]