Session Error on PHP 4.4.x ? Try $_SESSION
Jon Moffet
If you encounter session error on PHP 4.4.x, especially when you're porting scripts written from earlier PHP release (i.e PHP 4.1.x, 4.2.x) when handling sessions, chances are that you are using the deprecated session_register() function.
Solution: Replace session_register function with $_SESSION variable instead.
This will make your scripts upward-compatible with PHP installations that disabled register globals and eliminate those weird session errors message
reference: http://www.php.net/session_register
Tags: php, session, programming
Posted in Uncategorized |







