session expire timeout issue fixes..
parent
ac38594ff7
commit
05c9b7adc9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue