Re: relogin same user?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18224
interpreted = N
texte = On 6/12/98 5:39 PM Peter Ostry wrote >It would be easy if I do the login via a form, but I want to ask for>[username] sometimes so I prefer to login via browser authentication. But>there is the common problem: how to make a browser forget the current user?>I tried some code with [authenticate] within loops, across more templates,>setting variables, but to no avail. Is there any solution, which forces a>login request while the browser is still running?Don't use the protect tag. Use an include tag and That runs the authenticate routine, using a seperate database, not the users.db include a field called logtime. Then in your include just make the specified time part of the authentication procedure, and the also include a routine to update the time in your db file if he is autheticated. happy stringin:)Robert Minor______________________________________Cybermill Communications8616 Joseph Ave.St. Louis, MO 63144(314) 962-4024webmaster@cybermill.comhttp://www.cybermill.com______________________________________Always looking for the easy way!
Associated Messages, from the most recent to the oldest:
On 6/12/98 5:39 PM Peter Ostry wrote >It would be easy if I do the login via a form, but I want to ask for>
[username] sometimes so I prefer to login via browser authentication. But>there is the common problem: how to make a browser forget the current user?>I tried some code with
[authenticate] within loops, across more templates,>setting variables, but to no avail. Is there any solution, which forces a>login request while the browser is still running?Don't use the protect tag. Use an include tag and That runs the authenticate routine, using a seperate database, not the users.db include a field called logtime. Then in your include just make the specified time part of the authentication procedure, and the also include a routine to update the time in your db file if he is autheticated. happy stringin:)Robert Minor______________________________________Cybermill Communications8616 Joseph Ave.St. Louis, MO 63144(314) 962-4024webmaster@cybermill.comhttp://www.cybermill.com______________________________________Always looking for the easy way!
bob
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:
Was it something I said??? (1998)
WebCatalog NT beta 18 problem (1997)
HELP WITH DATES (1997)
Verifying both name and password (was: New Problem) (1997)
How to Display text in empty fields (1997)
Large databases in WebCat (1997)
Security Issue (1997)
Harvesting invalid email addresses from bounced emails??? (2000)
Practice runs ? (1997)
How To question on setting up downloads (1997)
where did it find it? part 2 (2000)
Stopping bad HTML propagation ? (1997)
Re:listfiles-looking for slick solution (1997)
[WebDNA] Two file tags don't work as expected (2009)
RE: incrementing a counter remotely? (1999)
E-mailer error codes (1997)
Overridding E-Mailer (1998)
Am I going senile? (Price recalc based on quantity) (1997)
SKU lookup (1997)
Extended [ConvertChars] (1997)