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 = LOGOUTpass = NOWgroups = 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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
| |
- Logout? (Per Christian Lied 1998)
- 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 = LOGOUTpass = NOWgroups = 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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://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:
SKU (1997)
Server Freeze (1998)
Separate SSL Server (1997)
[BULK] [WebDNA] test (2011)
RE: 2nd WebCatalog2 Feature Request (1996)
suffix mapping for NT? (1997)
WebCatalog/WebMerchant bug? (1999)
Problems passing [SKU] with $Replace in 2.0 (1997)
Pithy questions on webcommerce & siteedit (1997)
Upload Text File/ Append to DB (2003)
WebCat2_Mac RETURNs in .db (1997)
[WebDNA] shopping sites and the "old commerce tags" (2012)
strange [date] behavior (2001)
Online CC Processing (2002)
Possible to reset Linux file permissions w/in webcat [shell] ? (2000)
WebCat2 - many [carts] on one template page? (1997)
[TaxableTotal] - not working with AOL and IE (1997)
SHOWIF/HIDEIF empty fields (2005)
ACGI processing for .html (1997)
formvars available in formulas.db? (2000)