Logout function

  • Thread starter Thread starter Tessa Ford
  • Start date Start date
T

Tessa Ford

Does anyone know of a good script or something that
Frontpage will do so that members of a site can both login
and logout? I have had a look at several different
scripts for use on my FP site but they are rather
confusing.
 
: Does anyone know of a good script or something that
: Frontpage will do so that members of a site can both login
: and logout? I have had a look at several different
: scripts for use on my FP site but they are rather
: confusing.

Are you doing any kind of validation to let members into
your site? If you can use ASP pages and have a database
setup I can get you some scripting to work for this. It
would use a database of your usernames and passwords. Each
page yopu wanted protected would have a simple script to
check if they are logged in. If not you would validate and
that would set s session variable. The log out option would
just be another script page which would change the session
variable. Seeings it is a session variable it would delete
once they left the domain.

Mike
 
If you are using sessions and are logging in with an external source you can
just use ASP to do a session.abandon();

Works pretty good. :-)
 
Back
Top