If the use not working for 15 mins, then the session should expiry and logout aoutmatically or it should ask relogin... Can any one suggect for this...
If the use not working for 15 mins, then the session should expiry and logout aoutmatically or it should ask relogin... Can any one suggect for this...
Vijai
Take a look at <session-config> in web.xml to control a user session time-out.
note this is a Java EE standard, not Spring Security.
I have added the <session-config> in web.xml file... I am getting the following error... <session-config> element is limited to 1 occurance
I have searched in net they told me to add <login-config> and <jsp-config>, i added that but its not working... CAn u give me some idea pls... I need add any other configuration...
Vijai
Those are other web.xml elements that has nothing to do with session management.<login-config> and <jsp-config>
Most likely you already have one in your web.xml<session-config> element is limited to 1 occurance
<session-config> looks something like this:
Code:<web-app ...> .... <session-config> <session-timeout> 30 <!-- session times out in 30 minutes --> </session-timeout> </session-config> .... </web-app>
Ya Already i have one <session-config>. Thanks a lot dude...
Vijai