on 10-03-2016 3:16 PM
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.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.