cancel
Showing results for 
Search instead for 
Did you mean: 

Session Timeout on MI

Former Member
0 Kudos
83

Hi,

I am trying to configure a session time out in MI using the <session-timeout> field on the web.xml. I am using the web.xml from the MI/conf folder. I set it for 1 min for testing (defualt is 30 min.). I rebooted the device and log on into the device. I wait for about 2 min in order to see if the session expired. But I don't see that that the device does not expired. I expect that after the session expired to see that the device ask me to login again. Do I need to configure something else to accomplish this. Any help will be appreciated. Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello jose,

try modifying the session-timeout value in the web.xml

inside <MI_ROOT>\webapps\me\WEB-INF

regards

jo

Former Member
0 Kudos

Yeah I did both web.xml still I don't see that the session is expiring after the timeout of 1 minute.

Former Member
0 Kudos

hello jose,

MI itself doesn't timeout. It seems to use the session

method setMaxInactiveInterval and set it to -1 to deactivate the timeout.

the application however that subclass the

AbstractMeHttpServlet could be timed out.

by default, the super class might be setting it to -1.

try setting a different value in your subclass.


//value in seconds
request.getSession().setMaxInactiveInterval(60);

it might worth a try...

regards

jo

Answers (0)