Hi,
We are using SmartGWT-4.0p v9.0p_2013-07-29/PowerEdition Deployment (built 2013-07-29)
We are trying to control HttpSession timeout using
in web.xml
HttpSession in DataSourceRequest is getting timed out and a new session is being created for
each DataSourceRequest.
Please look into the issue and help us in overcoming this problem.
Thanks
Madan
We are using SmartGWT-4.0p v9.0p_2013-07-29/PowerEdition Deployment (built 2013-07-29)
We are trying to control HttpSession timeout using
Code:
<session-timeout>30</session-timeout> <!-- in minutes -->HttpSession in DataSourceRequest is getting timed out and a new session is being created for
each DataSourceRequest.
Code:
{
// don't create if it doesn't exist but smart client creates new session hence check userId
// from session
HttpSession session = dsRequest.getHttpServletRequest().getSession(false);
//On session timeout, session must be null and in case session exists even then smart client creates new session and all the values set in session is lost.
}Thanks
Madan