Logout does not clear cookies
I can't log out with this new cookie based authoring system. When logout is clicked it just refresh the index.page and that's all.
Session based works OK. WinXP, Apache 2.0.50, PHP5.0RC2 in use M |
Hi. Maybe a cache issue... what if you refresh?
|
Done that but still at admin page. Is there any special settings in php.ini or apache config file for cookies?
Or this can be a bug in PHP5RC2 M |
Don't know if it's related to PHP5RC2 or not?
Try sticking all this at the top of admin/index.php and see if it takes: PHP Code:
|
Didn't help, also tried with PHP5RC1. I will study this further tomorrow with latest PHP version. Strange that I'm the only one having this problem.
M |
In logout.php change:
PHP Code:
PHP Code:
|
Thanks, now it works. Also in php.net they think this is better way to clear cookies.
PHP Code:
|
All times are GMT -8. The time now is 03:43 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.