note 48781 added to function.session-start

From: Date: Thu, 06 Jan 2005 19:11:07 +0000
Subject: note 48781 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-82865@lists.php.net to get a copy of this message
hi, I am a software engineer and a web developer and Yet Session in PHP has always confused me. To this day, I can't seem to make it work. I recently had a chance to work with PHP and MySql Database for a website. I was able to implement everything else and make it work but session. I want session to be active throughout the visitor's visitation and if the time elasped too long I want the "page expired" message displayed in the browser. Like in Paypal.com if you login and didn't do anything for certain amount of time, next time you go to do something it pops the "page expired" or some message on the browser thats what I want. I searched and searched on the web for a sample program I can run with to see how it all put together. However, I just can't find a working PHP file with session. PLEASEEEEEEEEEEEEEEEEEEEEEEEEEEEE HELP me. ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48781 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48781&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48781&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82865) next »