Re[2]: [PHP] sessions

From: Date: Thu, 15 May 2003 18:27:29 +0000
Subject: Re[2]: [PHP] sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147761@lists.php.net to get a copy of this message
Hello Pushpinder, but it doesn't want to work. this function needs and parameter which is a variable. ' Warning: Wrong parameter count for session_is_registered() ' i need some code which will detect that user brake whole session (close all browser windows with current session) and then write some information to file... s2p. Thursday, May 15, 2003, 5:40:21 PM, you wrote: PSG> try this .... after closing the session PSG> start of code ...... PSG> if (session_is_registered()) PSG> { PSG> ...... create a new file here ...and write whatever needs to go in PSG> it..... PSG> ...... PSG> ... PSG> .. PSG> . PSG> } PSG> hth PSG> --pushpinder PSG> On Thursday, May 15, 2003, at 11:23 AM, <s2p@labnet.pl> wrote: >> sessions >> >> hi. >> >> i have a problem. >> does anybody know how to write a script which >> will make a new file (i know how to do this, >> it's only an example) with some text when >> the session will be closed (when user close all >> browser windows.break current session). >> >> please help me. >> >> s2p. >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> -- Best regards, s2p mailto:s2p@labnet.pl

« previous php.general (#147761) next »