note 7859 added to Session handling functions
| From: | romi at accord-soft dot com | Date: | Thu, 17 Aug 2000 12:37:19 +0000 |
| Subject: | note 7859 added to Session handling functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2200@lists.php.net to get a copy of this message | ||
Hey! Immediately after I posted my doubt I got the thing up and running by changing the script as
following. I am sorry for the botheration but people can benefit from this. I must say that the last
query itself helped me in doing the same.
<?php
// count_me.php
// if a session doesn't exist for this user, create one
//session_start();
session_save_path("C:\\Windows\\TEMP");
session_register('count');
$count++;
echo "<P>You've been here $count times. Thanx!</P>";
?>
http://www.php.net/manual/ref.session.php