View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
I'm trying to add the logout feature using the auth object.  I have a script that first uses auth.authenticate() which works fine.  I setup a link in the output html that calls my logout script.  The first thing the logout script does is auth.logout(), and then server.transfer over to my original script.  My thinking was when the original script is run a second time, it will hit the auth.authenticate() and stop, but it goes right past and maintains the user info.
 
I've also tried auth.forgetpassword() right after auth.logout() but still no luck.  I played around with Auth.SaveCookie and did set it to 2 in my original script, but set it back to 1.  I was thinking that it was not deleting the cookie from when it was set to 2.  Any ideas?