cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Session timeout is not happen even if we set default.session.timeout to 1 min

Former Member
0 Likes
973

Hi Experts ,

The user is not logout even if his session is expired , even we set the time to 1 min in project.property file Also we set in storefront web.xml file to 1 min

1

Can anyone tell me why this session is not got expired .

Thanks in advanced .

Accepted Solutions (0)

Answers (2)

Answers (2)

VinayKumarS
Active Contributor
0 Likes

In Hybris we have two things. One is Session and Another one is cookie. if the session timeouts only when you go to checkout page user will be asked to enter the login. till that time it will take the data from cookies and user will be able to navigate other pages. if you use the hard login on every request then application will ask you to login again. so understand the cookie and session implementation.

Former Member
0 Likes

Hi Sam ,

Thanks for update . But if i put default. session. timeout=60 means 1 min and same in web.xml of storefront file in tag ther e is m setting the value as 5 min . Then if ueser is login after that user remain in active for some minutes then which time it took to logout the user session i.e from property file time i.e 1min or web.xml file i.e 5 min ?

VinayKumarS
Active Contributor
0 Likes

you can add an entry in local.properties by using..

sessionTimeout.myBaseStore1=60

Former Member
0 Likes

Hi , Please update on above issue .