- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 69 guest(s) and 2 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Cookie Distroy / Secure login on Public / Private Computer [ ]
Author
Message
thot
Nuke Soldier
Joined: Jan 23, 2005
Posts: 17
Posted:
Tue Dec 05, 2006 4:25 am
How can I add the function (by chekbox?) for member so the Cookie gets Distroyed
after they close the internet explorer window.
This is nessesary especialy for Public Computers.
For Privit Computers there must be the ability to leave the Cookie,
so ppl do not have to re-log every time.
There must be such a function,
but I can not find it.
Running: PHPnuke 7.5 + latest update (3.1..)
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Tue Dec 05, 2006 6:45 am
I've not seen anything to do it automatically. You can set the cookie to timeout after a few minutes
in modules/Your_Account/index.php
Code:
setcookie("user","$info",time()+2592000);
Change the 2592000 number to the appropriate number of seconds
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
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