| Author |
Message |
steven111
Lieutenant


Joined: Dec 30, 2003
Posts: 283
|
Posted:
Thu Feb 05, 2004 6:00 pm |
  |
I had a problem with cookies hanging around when I log out... as a result all admin blocks would show on the left even thogh logged out.
Solution:
open file: modules\Your_account\index.php
Locate: Function logout()
5 lines down: locate:
replace the above line with:
| Code: |
setcookie("user", "", time() - 3600);
setcookie("admin", "", time() - 3600); |
That's it.
Env. Nuke 7.0/Win2k/Apache
steve [/code] |
|
|
    |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Thu Feb 12, 2004 8:19 am |
  |
Would this time-out a users cookie, so that even though they dont log off, when they come back to your site they will have to log in again every time? |
|
|
    |
 |
steven111
Lieutenant


Joined: Dec 30, 2003
Posts: 283
|
Posted:
Thu Feb 12, 2004 9:44 am |
  |
Great question. This code is executed ONLY if they click on logout, so what you mention is not a problem. |
|
|
    |
 |
Thalgor
Nuke Soldier


Joined: Feb 16, 2004
Posts: 10
|
Posted:
Wed Feb 18, 2004 7:48 am |
  |
Very interesting, but does not work for me under Nuke 7.0. No matter what I do, I can't log out of the system. |
|
|
   |
 |
aCe2k4
Nuke Cadet


Joined: Feb 26, 2004
Posts: 3
|
Posted:
Sun Mar 14, 2004 12:41 pm |
  |
*bump*
Still no fix for 7.0 7.1 ??
Admin logout works, but not user log out.
Win2k, IE 5.0 |
|
|
   |
 |
anthonyaykut
Lieutenant


Joined: Mar 26, 2003
Posts: 182
Location: Europe
|
Posted:
Mon Apr 19, 2004 11:08 pm |
  |
| XEULAS wrote: |
| Would this time-out a users cookie, so that even though they dont log off, when they come back to your site they will have to log in again every time? |
Well, sometimes I am logged in as Admin and a (test) user and when I log out as Admin, it logs out the user as well (or other way around?). IS this normal behaviour??
Anthony |
|
|
     |
 |
eyepoker
Nuke Soldier


Joined: Sep 28, 2004
Posts: 17
|
Posted:
Thu Oct 07, 2004 12:36 pm |
  |
Hello.... similar problem here... any updates on this? Nuke 7.4 |
|
|
   |
 |
|
|