Click here to Skip to main content
12,634,651 members (26,561 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
how to make session expire of web pages..
i want that when the user log out .. he should enter user name and password to enter in to the website..forward button of explorer should not work once user logout
Posted 13-Nov-12 21:55pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Read http://msdn.microsoft.com/en-us/library/ms178201%28v=vs.100%29.aspx[^]:

Quote:
Allow users to log out, at which point you should call theHttpSessionState.Abandon method. Warn the user to close his or her browser after logging out.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

set the expire time for the session to expire by default.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100