Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 5th, 2003, 05:58 AM
Registered User
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default login logout problem...

hello everybody,
               I am preparing an asp login logout script with session variables.But i am facing a problem that after i successfully log out from my page, i can go to the previous page by using the back button.How can i curb this problem that whenever i go to the previous page after logging out i should get the message as to that my session has expired.
Can any body please help me.




Sunmeet Singh Sethi
 
Old December 5th, 2003, 03:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Cross-post. See http://p2p.wrox.com/topic.asp?TOPIC_ID=7249 for replies.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old April 15th, 2004, 09:47 PM
Registered User
 
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try this code at the begining of your page

if session("variable name")="" then
response.redirect("new page.asp/html")
end if





Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Login Logout Apocolypse2005 PHP Databases 1 September 25th, 2008 01:17 AM
Authentication, Login, logout and security feature hendyhanusin ASP.NET 1.0 and 1.1 Professional 2 March 23rd, 2007 08:04 AM
How to give login logout Facility cbpanchal VB How-To 2 July 28th, 2004 06:42 AM
Login/Logout user tracking shmoel BOOK: Beginning ASP 3.0 0 December 9th, 2003 05:40 PM
login logout... sunmeet122 Classic ASP Basics 2 December 5th, 2003 11:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.