|
Posted by hman on 02/06/07 16:48
Forgive me if this is the wrong group to post this in, it's my first post.
I have a web site that uses session variables and cookies. In-house and at
most clients the web sites functions great, exactly how it should behave.
However, at a few sites, the users will get the login page and as soon as
they submit, they get served a page with just the banner image on top and
blank underneath it. The page is two frames, top and bottom with the banner
image on the top. When viewing the source, the bottom page contains
<html></html> only. Looking at my PHP scripts, there are no scripts that
could generate that kind of a blank page, it would at least have a <head> in
it.
So far what I've found that's different between the sites that work and the
one that doesn't is as follows.
The machine name is SQL1 with an IP address of 10.1.1.100. On this machine
is a web site set up in IIS with an IP address of 10.1.1.150. All of the
users at this site use a url of http://statuspage.cosite.com to get into the
site.
If you use a URL of http://SQL1/statuspage/userlogin.php - everything works
fine.
If you use a URL of http://10.1.1.100/statuspage/userlogin.php - everything
works fine.
If you use a URL of http://statuspage.cosite.com - They get the blank page
after the login page.
I'm thinking it has something to do with domains and cookies but I'm not
sure.
My cookies are set as:
setcookie("UserKey", $UK,$expiretime);
setcookie("PHPSESSID",$_COOKIE["PHPSESSID"],$expiretime);
$expiretime is a variable containing the expiration time of the cookie
Any help would be GREATLY appreciated.
Harry Hambrick
Navigation:
[Reply to this message]
|