Re: Logout?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17323
interpreted = N
texte = >Has anyone a tip on how to log out a user who is accessing a page >protected by the [protect] tag. >I want the user to be able to follow a link or press a form button and by >that erase authentification sent by the browser. 1- Create a new entry in the users.db with the following values:user = LOGOUT pass = NOW groups = LOGOUT2- Create a page which is protected with a [protect logout] tag, and put something like this text into that page: Thanks for using our service, you have successfully logged out!3- Create a link (or form) on any *other* page on your site, and make it lead to the new page you just created.4- When the visitor wants to logout, he/she simply clicks that link or form button, which brings up the browser's authentication dialog box.5- The user enters the username LOGOUT and password NOW, and then receives the Thanks for using our service, you have successfully logged out! message ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Logout? (Per Christian Lied 1998)
  2. Re: Logout? (Kenneth Grome 1998)
>Has anyone a tip on how to log out a user who is accessing a page >protected by the [protect] tag. >I want the user to be able to follow a link or press a form button and by >that erase authentification sent by the browser. 1- Create a new entry in the users.db with the following values:user = LOGOUT pass = NOW groups = LOGOUT2- Create a page which is protected with a [protect logout] tag, and put something like this text into that page: Thanks for using our service, you have successfully logged out!3- Create a link (or form) on any *other* page on your site, and make it lead to the new page you just created.4- When the visitor wants to logout, he/she simply clicks that link or form button, which brings up the browser's authentication dialog box.5- The user enters the username LOGOUT and password NOW, and then receives the Thanks for using our service, you have successfully logged out! message ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

replace problem (1999) PIXO support (1997) Redirect and passing more than one variable... (2002) Max Record length (1997) Urgent Help needed (1998) Search design (1997) Search String (2003) Price Change (2000) [ShowNext] feature in 2.0 (1997) SEARCH RESULTS (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [OT] was SQL Query Question (2001) Context and commands (1998) Problems with cybercash (2000) [SameAsShipping] (2005) Hard Questions ? (1997) remotely add + sign (1997) Navigator Parsing (1997) [WebDNA] plupload ? (2012) TCPSEND (1999)