943,812 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 596
  • ASP.NET RSS
Apr 12th, 2009
0

Automatic Logging out

Expand Post »
I has a login page in my web application,
when the user login my web application through login page, he is redirected to the welcome page.
All this is ordinary, but the problem is when the user press Back button of IE he return to the login page then if he press Forward button of IE he redirected to welcome page and stills logged in.

I want the user to be logged out when he press on Back button to the login page.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
brightline is offline Offline
57 posts
since Feb 2008
Apr 12th, 2009
0

Re: Automatic Logging out

You might want to look at how the 'Session' variable is being set/maintained. If a session is created for a user then that remains until the browser session is ended or you directly end it.

What is the code of your login page?
Reputation Points: 22
Solved Threads: 9
Junior Poster
ninjaimp is offline Offline
129 posts
since Apr 2008
Apr 13th, 2009
0

Re: Automatic Logging out

you can use cookies and apply validation for the event if cookies are set.whats the code?
Reputation Points: 10
Solved Threads: 12
Posting Whiz in Training
carobee is offline Offline
209 posts
since Dec 2007
Apr 13th, 2009
0

Re: Automatic Logging out

Hi,

Please read following this will surely help

http://www.hunlock.com/blogs/Masteri...ith_Javascript
Reputation Points: 10
Solved Threads: 5
Light Poster
P.K.Chaudhary is offline Offline
30 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: How to get window logged in user in asp.net?
Next Thread in ASP.NET Forum Timeline: login+ Contol panel.aspx





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC