on 11-10-2016 5:53 PM
How can I change timeout only for hmc??
@pradeep Sorry I Have not seen this for long ..here is your answer: Extend the de.hybris.platform.servicelayer.web.DefaultSessionCloseStrategy.class and override the method :setTimeoutOnHttpSessionCreation(HttpSession httpSession) and nullify it which now will take take value from your web.xml or implement your own strategy for timeout in this method...if you want to analyse the above class,it is present in coreserver.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we can write it in local. property file "default.session.timeout=123"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can find answer here https://answers.sap.com/questions/12761232/where-and-how-to-set-session-timeout-in-hybris.html?child...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please let me know how you resolved the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it might work in later versions but we are using 5.6 and also resolved the issue successfully . tank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Anishul, since version 6.1 there is platform support for web apps specific timeouts:
It is also possible to configure session timeout per web application. Just set the following property to a non-negative number in the local.properties file:
[extension].session.timeout=1500
See https://help.hybris.com/6.2.0/hcd/8c005cde86691014a49ce1de22f3897f.html for more info.
Cheers, Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you cannot do this, Though you configure session timeout in hmc > web.xml it may not work properly because hybris depends on default.session.timeout
attribute.
However if any one has idea about it , Do let us know.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
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.