General discussions related to php
Moderators: macek, egami, gesf
by webtekie » Fri Apr 18, 2003 5:38 am
Hi,
How should I logout user once he closes browser? Is there any way other than creating a framed version of web page and using javascript or using cookies. Let's say I am using $_SESSION object.
/webtekie
-
webtekie
- New php-forum User

-
- Posts: 9
- Joined: Thu Apr 10, 2003 10:33 am
- Location: brooklyn, ny
by ruturajv » Fri Apr 18, 2003 7:30 pm
There is one way put onUnload('windowOpen();')
Open a window which executes a small script
session_destroy();
I hope this would work
-

ruturajv
- php-forum Super User

-
- Posts: 1280
- Joined: Sat Mar 22, 2003 9:42 am
- Location: Mumbai, India
-
Return to PHP General
Who is online
Users browsing this forum: No registered users and 1 guest