Hi all,
I've written a JSP webapp which will be used by office workers, so I need the session not to expire for something like 4 hours, im currently using this code:
// Set session expiration to 4 hours
session.setMaxInactiveInterval(240);
I was told the value is in minutes, but im sure its expiring in under 5 minutes of inactivity.
Does anyone know if this is correct, or if its the wrong way of setting session expiration how should I be setting it?
I have searched for this on google but can't find anything.
Thanks,
Matt.
I've written a JSP webapp which will be used by office workers, so I need the session not to expire for something like 4 hours, im currently using this code:
// Set session expiration to 4 hours
session.setMaxInactiveInterval(240);
I was told the value is in minutes, but im sure its expiring in under 5 minutes of inactivity.
Does anyone know if this is correct, or if its the wrong way of setting session expiration how should I be setting it?
I have searched for this on google but can't find anything.
Thanks,
Matt.