You are here: Re: [PHP-WIN] Localhost not working with cookies « PHP « IT news, forums, messages
Re: [PHP-WIN] Localhost not working with cookies

Posted by Tom Rawson on 04/18/05 04:29

On 18 Apr 2005 Proudly Pinoy wrote:

> I've read from php.net/setcookie and codecomments.com that using
> localhost won't work with cookies and neither are IP addresses. So
> how do I test cookies on local system?

Hmmm, this works just fine for me -- I do it all the time. I tend to
do it with a domain mapped to 127.0.0.1 via the hosts file, rather than
"localhost", but using that approach I can set cookies fine under Win98
(as far as I remember, not using it now), Win 2000, and Win XP, in both
Mozilla and IE. I am running Apache 1.3.29 as the local server in all
cases.

--
Tom

 

Navigation:

[Reply to this 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

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