File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes session gets killed automatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "session gets killed automatically" Watch "session gets killed automatically" New topic

session gets killed automatically

kapil chhattani

Joined: Jan 25, 2012
Posts: 1
Hello everyone,
i am trying to develop a website as a part of my project in which user logs in with his username and password.. but when i close the browser without logging out and open the same page again it is again asking for username and password even though i stored the usrename and password in session attributes. but i guess session is getting destroyed when i am closing the browser. i dont want the user to enter username and password unless he logs out of his account.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Are you talking about maintaining a session with a web service or with a web application?
If the latter, then your question is in the wrong forum. If you confirm this, I will movie the question to an appropriate forum.
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: session gets killed automatically
It's not a secret anymore!