session expire - TechRepublic
General discussion
July 5, 2001 at 10:53 PM
ratna_summit

session expire

by ratna_summit . Updated 23 years, 7 months ago

if I don’t use the browser for some time(may be 10
minutes), then it shows the error message “Servlet failed with
exception, NullPointerException”.
I think that this may be due to the “session expiration”. How
can I settle this matter. Pls help.
My first jsp page is a login page,after entering username and password,i go to second page which displays some details where i have a href to another page.
Now that i leave the second page and go out for a while say 5 to 10 minutes and come back
and then click on href in 2nd page it will say error:
SERVLET FAILED WITH EXCEPTION,AND NULL POINTER EXCEPTION.
SESSION EXPIRES.BUT IF I COME TO LOGIN PAGE AGIAN AND GO CONTINOUSLY THRO THE PAGES ACROSS,THRO THE APPLICATION,THERE SEMS TO BE NO PROBLEM.

This discussion is locked

All Comments