|
|
Joined: Apr 2001
Posts: 186
Member
|
Member
Joined: Apr 2001
Posts: 186 |
I need a script that logs my users out vhen they close the browser, alternative leave the board.
Please, any ideas ???
|
|
|
|
Joined: May 2000
Posts: 58
Member
|
Member
Joined: May 2000
Posts: 58 |
*bumb* yes, I would need something like this too. Or an option to disable cookies when loging in... Most of my members log on to the UBB from a network on school. Then, if anyone else gets behind the computer this first person has been on he gets his name, and could change passwords/email adress and post under his name.... I instructed them all to log out, but most of them are n00bs 
He deserves death. Deserves it! I daresay he does. Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. - Gandalf
|
|
|
|
Joined: Oct 2001
Posts: 55
Member
|
Member
Joined: Oct 2001
Posts: 55 |
I'm can't really do this.. cuz I suck at coding.. but I beleive there could be two ways to do this. 1st Like another board I seen, let the user put in a time of how long they want to be log in. 2nd way is just like when you go to porn sites a pop up comes up when you closed the browser. When this pop up comes up, It will run the script delete ubb cookie, and will logs you out. and just have after its done with that will run a script close window so makes it easy for the users, so they don't have to go to too much work of closing it [ 12-20-2001 12:45 PM: Message edited by: HybridPWF ]
">,.-~*´¨¯¨`*·~-.¸-(_Çã§Pe®_)-,.-~*´¨¯¨`*·~-.¸
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
[code][/code]It should appear once, but WOL/PM notification also have it.
|
|
|
|
Joined: Oct 2001
Posts: 85
Member
|
Member
Joined: Oct 2001
Posts: 85 |
hmmm i find
-path => '/', -expires => '-2y'
5x
the first i change ???
|
|
|
|
Joined: Apr 2001
Posts: 186
Member
|
Member
Joined: Apr 2001
Posts: 186 |
look again, its there 2 times ;O) and it looks almost even.
By the way it works great, you just have to delete the old cookie and set a new one, the new one then logs you out every time you close the browser thanx LK
thomas
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|