Hi everyone,
I'm using session.setMaxInactiveInterval(20) in order to set session time.
I'm using this in any of the
jsp page or
servlet of my web app to set session time and it is
working fine i.e, session is getting expired in other web pages also after 20sec
please tell me which is the appropriate place for session.setMaxInactiveInterval(20) if i'm
having 3-4 servlets and 6-7 jsps.
I guess 1sp jsp page requested(home page) should have this statement??
please correct me..
And also please tell me If I don't use filter for this purpose what will be the problem?
thanks in advance