You have to put session_start(); at the VERY TOP of your code. even before alle the <html> tags. Hope that helps!
Jan -----Original Message----- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Dienstag, 16. September 2003 20:17 To: Rich Gray; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] Session data getting lost --- Rich Gray <[EMAIL PROTECTED]> wrote: > I'm running v4.2.3 on RedHat v7.0 and am getting some strange > behaviour with the $_SESSION superglobal... ... > It works fine on Win2K albeit v4.3.0 of PHP. Maybe you have register_globals enabled on your Linux server and not on your Windows PC? Compare php.ini files before giving it too much thought. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php