Ah, yes, this is true. The reason is that the password cookie name is constructed by using a hash of the information in Auth.AuthTable (as well as some other properties). This is important, so as to distinguish password cookies sent by multiple FoxWeb applications on the same server.
FoxWeb Support Team
support@foxweb.com email |
Sent by James Williams on 01/14/2010 01:06:30 PM:
I have found what it is!!!
The only way the password cookie will get removed is if you repopulate the auth.authtable property before the using the auth.logout() method.
Why is this needed?
Sent by FoxWeb Support on 01/14/2010 10:19:47 AM:
Please try the Authenticate.fwx sample that comes with FoxWeb. Does the Forget Password link work for you? If not, try the same sample on
our own site. Let us know what you find out.
By the way, the forget password functionality does not log the user out -- it just deletes the password cookie. In order for it to work, the response must be received by the browser, because it contains an instruction to delete the cookie.
FoxWeb Support Team
support@foxweb.com email |
Sent by James Williams on 01/14/2010 09:18:07 AM:
Password cookie not being removed on auth.logout() or auth.forgetpassword()
Auth form keeps logging me in, not able to logout and log another user in. I have to manually delete the cookie.
Using the following:
Auth.SaveCookie = 2
"log in automaticly next time" selected on auth form
Foxweb version: 4.3