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

Reply via email to