Deleteing one session
| From: | Ryan A | Date: | Wed, 30 Jul 2003 23:34:14 +0000 |
| Subject: | Deleteing one session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157619@lists.php.net to get a copy of this message | ||
Hi,
have around 20 sessions setup and want to delete one of them...
eg:
I have the following sessions:
one
two
three
four
five
etc
I want to delete "four", what should i use? am puzzled by the manual which
offers these two options:
unset($four);
session_unregister($four);
which is better? I am starting my sessions with this kind of statement:
$_SESSION['blah'] = $_GET['blah'];
Also any idea how many sessions I can have "on" at one time? or is there no
limit? I couldnt find anything on that in the manual.
Thanks,
-Ryan