session expire timeout issue fixes..

pull/15/head
Keerthana 2018-04-28 20:46:55 +05:30
parent ac38594ff7
commit 05c9b7adc9
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ public class SessionManager extends ManagerBase implements Lifecycle {
* @return
*/
private int getSessionTimeout(Session session) {
int timeout = getContextIns().getSessionTimeout();
int timeout = getContextIns().getSessionTimeout() * 60;
int sessionTimeout = (session == null) ? 0 : session.getMaxInactiveInterval();
return (sessionTimeout < timeout) ? ((timeout < 1800) ? 1800 : timeout) : sessionTimeout;
}