Automatic Logging out

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2008
Posts: 52
Reputation: brightline is an unknown quantity at this point 
Solved Threads: 0
brightline brightline is offline Offline
Junior Poster in Training

Automatic Logging out

 
0
  #1
Apr 12th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 115
Reputation: ninjaimp is an unknown quantity at this point 
Solved Threads: 6
ninjaimp ninjaimp is offline Offline
Junior Poster

Re: Automatic Logging out

 
0
  #2
Apr 12th, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 205
Reputation: carobee is an unknown quantity at this point 
Solved Threads: 11
carobee carobee is offline Offline
Posting Whiz in Training

Re: Automatic Logging out

 
0
  #3
Apr 13th, 2009
you can use cookies and apply validation for the event if cookies are set.whats the code?
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 30
Reputation: P.K.Chaudhary is an unknown quantity at this point 
Solved Threads: 5
P.K.Chaudhary P.K.Chaudhary is offline Offline
Light Poster

Re: Automatic Logging out

 
0
  #4
Apr 13th, 2009
Hi,

Please read following this will surely help

http://www.hunlock.com/blogs/Masteri...ith_Javascript
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC