Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Logging out user

General discussions related to php

Moderators: macek, egami, gesf

Logging out user

Postby 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
New php-forum User
 
Posts: 9
Joined: Thu Apr 10, 2003 10:33 am
Location: brooklyn, ny

I think

Postby 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
User avatar
ruturajv
php-forum Super User
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 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.