File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Session timeouts or JsessionIds Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Session timeouts or JsessionIds" Watch "Session timeouts or JsessionIds" New topic

Session timeouts or JsessionIds

Mariella Predescu

Joined: Feb 06, 2008
Posts: 1
I am having a problem with my login page. Users are able to login without any problems under normal circumstances. When a user logs out and does not close the window and then comes back some time later and tries to login again the page simply reloads. The second time the user tries to login everything is back to normal.
It is only after the login page (what you get to after logging out) has sat for a while that it behaves in this strange way.

When this refresh occurs on the first login try the submit button action is not called.
Also the back button lets the user repeat that first login that just refreshes the page. So if the user tries to login and the page refreshes and the user clicks back and then enters login information again and clicks submit page refreshes again. Sometimes after the page refreshes the jsessionid is printed in the address bar after the page address.

Any insight appreciated or please ask me for more information I do not know what exactly would help.
I agree. Here's the link:
subject: Session timeouts or JsessionIds
It's not a secret anymore!