Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 186
Member
Member
Offline
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 ???

Sponsored Links
Joined: May 2000
Posts: 58
Member
Member
Offline
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
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
Joined: Oct 2001
Posts: 85
hmmm i find

-path => '/',
-expires => '-2y'


5x

the first i change ???

Sponsored Links
Joined: Apr 2001
Posts: 186
Member
Member
Offline
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)