How session timeout is done in Hybris ?

It means if user is inactive for 3600seconds, session will be timed out

How to override this timeout ?

We can override this property in local.properties file as below

default.session.timeout=1000

default.session.timeout=1000

This will make session timeoutafter1000seconds.

Note :

default.session.timeout value is used for all the applications of Hybris like storefront,HMC,HAC,cockpit.
If we set this property then Hybris will automatically do session invalidation after specified seconds.
We can also override this timeout value to specific application like for storefront we can give different
timeout,for hmc we can give different timeout etc.

About the Author

Founder of javainsimpleway.com
I love Java and open source technologies and very much passionate about software development.
I like to share my knowledge with others especially on technology 🙂
I have given all the examples as simple as possible to understand for the beginners.
All the code posted on my blog is developed,compiled and tested in my development environment.
If you find any mistakes or bugs, Please drop an email to kb.knowledge.sharing@gmail.com