|
07-12-2004, 03:16 PM | #1 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
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 |
07-12-2004, 03:25 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Maybe a cache issue... what if you refresh?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
07-12-2004, 03:32 PM | #3 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
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 |
07-12-2004, 03:35 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
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:
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
07-12-2004, 03:43 PM | #5 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
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 |
07-12-2004, 03:52 PM | #6 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
In logout.php change:
PHP Code:
PHP Code:
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
07-12-2004, 03:58 PM | #7 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
Thanks, now it works. Also in php.net they think this is better way to clear cookies.
PHP Code:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clear List of Queries | Kvasir | How-to Forum | 1 | 05-19-2005 07:55 AM |
bug with cookies? | fredh | Mod Submissions | 6 | 05-04-2004 07:47 PM |
cookies and phpdig | Darknss | Troubleshooting | 2 | 03-05-2004 08:38 PM |
Clear logs from admin panel | manfred | Mod Submissions | 2 | 02-25-2004 07:15 AM |