General discussion

Locked

session expire

By ratna_summit ·
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 conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

session expire

by madhusudan_p In reply to session expire

if you are using IIS as server check the IIS settings for session timeout.

Collapse -

session expire

by ratna_summit In reply to session expire

The question was auto-closed by TechRepublic

Collapse -

session expire

by limatik In reply to session expire

First, I would check timeout settings on the web server.

Secondly, I would check the code for maybe, mis-applications in session implementation. Ideally, the application should be able to trap session expiration and not result to other exceptions.

Good luck,

Collapse -

session expire

by ratna_summit In reply to session expire

The question was auto-closed by TechRepublic

Collapse -

session expire

by ratna_summit In reply to session expire

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums