* Thus wrote Ryan A ([EMAIL PROTECTED]):
> 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'];

unset($_SESSION['blah']);
unset($_SESSION['four']);

Remember: don't use session_register, session_unregister, or
session_is_registered when using the $_SESSION  var.
 
> 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.

my guess is limit on file size on system. although that isn't an
authoritative answer.

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to