Thanks, but no. On the page not setting the cookie and the php.ini isn't setting it to either. But the .ini isn't setting it at all. Could I put in there the .net address or .com address? Better yet, can I put 2 addresses, probably not.
Stephen -----Original Message----- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 3:23 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Session and Server variable problem From: "Stephen Schneider" <[EMAIL PROTECTED]> > Have an interesting problem. Worked on a web site for a client. They > have the server (IIS) set up and we are using php. Have been working > with their domain with a .net extension. To go live, they repointed > their .com domain to the web folder. Same spot the .net points to. > But now server and session variables aren't working. They still work > if we use .net but not .com. Can't set or read them. Anyone run into > this before? Sessions, by default, rely on cookies to propogate the session ID. You are somehow setting the "domain" of the cookie to the .net address, more than likely. There are a multitude of ways you can do it, though. Check your session.cookie_domain in php.ini. Check if it's being set with session_set_cookie_params() or ini_set() or if the cookie is being created manually with setcookie(). ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php