Is there a down side to registering a var with the session more than
once?  I.e. which would be preferred and why in a frequently accessed
page in a web application:

        session_register('var');

        or

        If (!session_is_registered('var') session_register('var');

FWIW - either way seems to work without any apparent issues.  Seems the
first way avoids a seemingly unnecessary conditional operation.

Thanks...

Al



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to