Hmm .. I haven't been on the list for a while so it took me some time to answer ;).. Anyways, what I believe is a possible cause for your problem is that there simply ain't no session started. Maybe the "always start session before the php page request" setting was On if not configured, but is now Off in your ini file.
783 ; Initialize session on request startup. 784 session.auto_start = 0 Might wants to be changed to 783 ; Initialize session on request startup. 784 session.auto_start = 1 Also check this one 773 ; Whether to use cookies. 774 session.use_cookies = 1 In combination with 850 ; trans sid support is disabled by default. 851 ; Use of trans sid may risk your users security. 852 ; Use this option with caution. 853 ; - User may send URL contains active session ID 854 ; to other person via. email/irc/etc. 855 ; - URL that contains active session ID may be stored 856 ; in publically accessible computer. 857 ; - User may access your site with the same session ID 858 ; always using URL stored in browser's history or bookmarks. 859 session.use_trans_sid = 0 If both are set to "0", sessions simply won't work since PHP cannot know about the session id. If session.use_cookies is enabled, and session.use_trans_sid is not than you should have Cookies enabled in your browser for sessions to work. Or if you're on Windows, pay special attention to 771 session.save_path = /tmp Which should then be changed to smth like c:\temp That's pretty much what I can say about it .. If neither of those work, just read the entire [Session] section in the php.ini file. Wouter -----Original Message----- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 9:26 PM To: [EMAIL PROTECTED] Subject: [PHP] $_SESSION stuffs that come with php.ini I have been building the website for 6 months with everything and I didn't have hte php.ini on it. Just didn't realize it, so I create the php.ini that come from php.ini_dist that came with php source code. Now the $_SESSION doesn't work. I'm not able to make the php.ini to be like the one that php work without it. So, anyone know what is the default session configuration? Thanks... -- 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