cancel
Showing results for 
Search instead for 
Did you mean: 

Configure HMC, Backoffice & ProductCockpit session timeout to 20 mins

Former Member
0 Kudos

Hi, I want to configure session timeout for hmc, backoffice & productcockpit to 20 mins. Right now, what we have observed is there is no time out and the session never expires. I tried setting the property "hmc.session.timeout", but didn't helped. Thanks Shantanu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Please override the value of default.session.timeout in local.properties. Alternatively, you can configure session-config in the web.xml of the corresponding extension e.g. in hybris\bin\ext-platform-optional\hmc\web\webroot\WEB-INF\web.xml:

 <session-config>
   <session-timeout>1</session-timeout>
 </session-config>
former_member638520
Contributor
0 Kudos

Hi,

According to platform project.properties, you can try to override these values in your local.properties file:

 ############################## SESSION SETTINGS ################################
 #
 # Settings to configure session behaviour
 #
 ################################################################################
 
 # The default session timeout (in seconds).
 # If you specify 0 or less, the session will never timeout
 default.session.timeout=3600
 
 # extension specific session timeout (in seconds)
 # If you specify 0, the session will never timeout
 # if negative number is set then default.session.timeout property will be used
 hac.session.timeout=3600
 
 # Controls cart removal behavior on session close. Default is true, so card will be removed
 session.remove.cart.on.close=true


Regards

Lukasz