logout button on password protected directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I was wondering if there was a way to add a logout button on my main page in
my password protected directory so when a user logs out it takes them back to
the main home page. When I close out of the password protected directory,
move around the rest of the site and go back to Members Only...I'm still
logged in.
I'd appreciate any assistance.
Thank you.
 
Only using a server-side script to provide the protection, not when using the OS.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Thanks for the reply but I don't quite understand. Do I have any other
options to password protect some pages with a login and logout feature? I'm
kind of new at this that's why you're response didn't make much sense to me.
Thanks.
 
When the login is controlled by the operating system (OS), there is no log out unless you close all
open browser windows. You would have to use a server-side script, such as ASP, ASP.net, PHP,
CGI-Perl, CFM to be able to provide a logout function, which many people never use, they just browse
away to another site or closed their browser.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
whatever script you have, would probably write a cookie to your hard drive
to tell whether you're logged in or out (like you see on many sites, the
ones that say "Welcome Back, Joe Bloggs!" after you log on, etc (they use
session cookies, so they know who you are and that you're logged on), so you
need a button or link "Log Out" that would effectively end the Session
Cookie.

That much I know; how to implement it I don't know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top