Gaylen Fraley wrote: > I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that > session_register is not working between pages. In script A, the session var > gets registered and shows registered using session_is_registered('testvar'); > However, when script B is called, a session-start is issued and testvar is > not registered. Running the identical code, but not with his ISP, under > 4.06, it works perfectly. Are there known issues? >
If you can trun off register_globals, set it to OFF. register_glogals=Off is recommended setting BTW. Use $HTTP_SESSION_VARS. Do not use session_register(), just set value to $HTTP_SESSON_VARS. Do not use session_unregister(), just unset() $HTTP_SESSION_VARS. -- Yasuo Ohgaki -- 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]