I'm using Netscape. (In case it matters) I can log in fine, but when I try to log out, it *seems* to work but when I click login (to login as admin for example) it is if I had never logged out!
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-09-06
Found the error!
For users of php4 (I'm assuming that's the reason)
you'll need to change line 770 and 771 of users.php from this...
I'm using Netscape. (In case it matters) I can log in fine, but when I try to log out, it *seems* to work but when I click login (to login as admin for example) it is if I had never logged out!
Any ideas?
Found the error!
For users of php4 (I'm assuming that's the reason)
you'll need to change line 770 and 771 of users.php from this...
setcookie ("cookieusername", "", 0);
setcookie ("cookiepassword", "", 0);
tp this....
setcookie ("cookieusername", "", time()-3600,"$hostname_path", "$hostnam
e_domain");
setcookie ("cookiepassword", "", time()-3600,"$hostname_path", "$hostnam
e_domain");
and chane all instances of setcookie from this...
setcookie ("cookieusername", "", 0 ....
to this...
setcookie ("cookieusername", "", time()+3600
Note! this also cause auto-expiry in one hour :-)