> > Shouldn't unset($_SESSION) work?
> 
> No.  The following Caution appears in the manual (at
> http://www.php.net/manual/en/ref.session.php#session.examples): 
> 
> Caution Do NOT unset the whole $_SESSION with unset($_SESSION) as
> this will disable the registering of session variables through the
> $_SESSION superglobal. 

Thanks -- I have to say I missed that one!

Thanks for noting session_write_close() as well.  I did try that, but 
it didn't seem to offer any advantages over letting the script write 
the data on exit.

 ----------
 Tom Rawson

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

Reply via email to