on 2005 Nov 21 2:50 PM
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.
hello jose,
try modifying the session-timeout value in the web.xml
inside <MI_ROOT>\webapps\me\WEB-INF
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.