This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

session gets killed automatically

kapil chhattani
Greenhorn

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
    
    1
Hi!
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: http://www.slideshare.net/krizsan
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: session gets killed automatically
 
jQuery in Action, 3rd edition