Re: Logout Script
From: MD Websunlimited (none_at_none.com)
Date: 11/29/04
- Next message: aka: Crash Gordon®\: "Re: How do I add a web cam image from another website?"
- Previous message: MD Websunlimited: "Re: 2 Qustions forms and counter"
- In reply to: Harddrive747: "Logout Script"
- Next in thread: Harddrive747: "Re: Logout Script"
- Reply: Harddrive747: "Re: Logout Script"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 28 Nov 2004 18:43:58 -0600
Hi Harddrive747,
You have to abandon the session using session.abandon.
<form action=thispage.asp post >
<input type="submit" value="logout" name="action" >
</form>
<%
if request.servervariables("REQUEST_METHOD") = "POST" then
if request.form("action") = "logout" then
session.abandon
request.redirect "logout.asp"
end if
end if
================
-- Mike -- FrontPage MVP '97-'02 J-Bots 2004 Released Special Pricing http://www.websunlimited.com FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible -- Mike -- FrontPage MVP '97-'02 J-Bots 2004 Released Special Pricing http://www.websunlimited.com FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible "Harddrive747" <Harddrive747@discussions.microsoft.com> wrote in message news:B30144E7-827F-4A67-80DF-6690F283DA65@microsoft.com... > Hey guys, I followed the Article number 825498, which tells me how to create > a password-protected Web Page. > > I was able to create it and get it to work on my local machine. However, > I'm trying to figure out and understand how to create a log out button. > > Can you help. > Thanks. > Terry
- Next message: aka: Crash Gordon®\: "Re: How do I add a web cam image from another website?"
- Previous message: MD Websunlimited: "Re: 2 Qustions forms and counter"
- In reply to: Harddrive747: "Logout Script"
- Next in thread: Harddrive747: "Re: Logout Script"
- Reply: Harddrive747: "Re: Logout Script"
- Messages sorted by: [ date ] [ thread ]
Loading