note 29822 deleted from function.session-is-registered by didou

From: Date: Sun, 18 May 2003 03:46:59 +0000
Subject: note 29822 deleted from function.session-is-registered by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48393@lists.php.net to get a copy of this message
Note Submitter: mackaye@iprimus.com.au ---- PHP is correct in destroying session variables with no value. This keeps the session file size down when a variable obviously of no worth is added. Whether you use $_session or session_register() is up to the server design and developer preference. I am hoping someone has some information on wether you can add wildcards to your session_is_registered() variable name. e.g session_is_registered("order*"); If this is not the case... One could do this kind of thing by Physically opening the session file and searching through it with posix style string matching. Not that it would be recommended. ANY comments or knowledge would be appreciated

« previous php.notes (#48393) next »