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.
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.