You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - cookies hanging around [fixed] [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Thu Feb 05, 2004 6:00 pm Reply with quoteBack to top

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:
Code:
setcookie("user");


replace the above line with:
Code:
setcookie("user", "", time() - 3600);
setcookie("admin", "", time() - 3600);


That's it.Razz

Env. Nuke 7.0/Win2k/Apache

steve [/code]
Find all posts by steven111View user's profileSend private messageVisit poster's website
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Thu Feb 12, 2004 8:19 am Reply with quoteBack to top

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?
Find all posts by XEULASView user's profileSend private messageVisit poster's website
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Thu Feb 12, 2004 9:44 am Reply with quoteBack to top

Great question. This code is executed ONLY if they click on logout, so what you mention is not a problem.
Find all posts by steven111View user's profileSend private messageVisit poster's website
Thalgor
Nuke Soldier
Nuke Soldier


Joined: Feb 16, 2004
Posts: 10


PostPosted: Wed Feb 18, 2004 7:48 am Reply with quoteBack to top

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.
Find all posts by ThalgorView user's profileSend private message
aCe2k4
Nuke Cadet
Nuke Cadet


Joined: Feb 26, 2004
Posts: 3


PostPosted: Sun Mar 14, 2004 12:41 pm Reply with quoteBack to top

*bump*

Still no fix for 7.0 7.1 ??

Admin logout works, but not user log out.

Win2k, IE 5.0
Find all posts by aCe2k4View user's profileSend private message
anthonyaykut
Lieutenant
Lieutenant


Joined: Mar 26, 2003
Posts: 182

Location: Europe

PostPosted: Mon Apr 19, 2004 11:08 pm Reply with quoteBack to top

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
Find all posts by anthonyaykutView user's profileSend private messageSend e-mailVisit poster's website
eyepoker
Nuke Soldier
Nuke Soldier


Joined: Sep 28, 2004
Posts: 17


PostPosted: Thu Oct 07, 2004 12:36 pm Reply with quoteBack to top

Hello.... similar problem here... any updates on this? Nuke 7.4
Find all posts by eyepokerView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.204 Seconds - 184 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::