Reply to Re: PHP serving blank pages

Your name:

Reply:


Posted by hman on 02/06/07 18:21

The DNS is working correctly according to the client where this is
happening.

What should I use for the full domain in this case. I can't find a good
explanation on use of the domain when setting cookies.

I need to cookies to work for SQL1, 10.1.1.100 AND for
statuspage.cosite.com.

Thanks,
Harry Hambrick

"J.O. Aho" <user@example.net> wrote in message
news:52ru59F1okgg0U1@mid.individual.net...
> hman wrote:
>
>
>> 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.
>
> Check so that your DNS is working correctly.
>
>
>> 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);
>
> If using microsoft browsers, it's always a good idea to give the full
> domain in the setcookie(), or else you may get troubles.
>
>
>
>
> --
>
> //Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация