Regarding the same topic of session management, I am using PHP 3.09 and when I call session_start() or $HTTP_SESSION_VARS['someVariable] I get :
Fatal error: Call to unsupported or undefined function session_start() So, my question is that: Is there any session management in PHP3.09? If the answer is no, what weould be an alternative? Regards, Ozgur ----- Original Message ----- From: "Chris O'Brien" <[EMAIL PROTECTED]> To: "Ron Clark" <[EMAIL PROTECTED]> Cc: "PHP general list" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 3:06 AM Subject: Re: [PHP] HTTP_SESSION_VARS > > I am working on a major PHP project using sessions and would like to run > > PHP with register_globals turned off. Trouble is, with PHP-4.0.6 I lose > > all the session variables and my program breaks. Tried - > > > > > > $username = $HTTP_SESSION_VARS['username']; > > print $username; > > > > and got nothing. > > > > print_r($HTTP_SESSION_VARS) shows an empty array. Is this a bug in > > 4.0.6. > > Try calling session_start(); before trying to grab the session variables, on > each page that needs to use the variables. > > * Chris O'Brien ([EMAIL PROTECTED]) > * Excel.Net,Inc. - http://www.excel.net/ > * (920) 452-0455 - Sheboygan/Plymouth area > * (888) 489-9995 - Other areas, toll-free > > > -- > 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] > -- 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]