Reply to Re: List Fails on some computers - www missing in url

Your name:

Reply:


Posted by Jerry Stuckle on 03/05/07 23:00

paul wrote:
> In article <1173022525.228492.298190@p10g2000cwp.googlegroups.com>,
> myahact@yahoo.ca says...
>> because cookie is different for
>> http://www.mysite.com and http://mysite.com
>>
>
> It shouldn't be it's the same domain just addressed differently.
> If PHP does that it's a bug that should be reported as critical.
>
>
> Paul
> --------------------
> "It's better to burn out, than to fade away."
> Highlander.

Paul,

It's not PHP. It's how the browser and HTTP protocol work.

www.example.com is not the same as example.com. It may or may not be on
the same server. And if it were on a different server, there could be a
security exposure.

So the browser doesn't send a cookie stored by example.com to
www.example.com (or vice versa). There is nothing special about the www
identifier other than it is a convention.

The same would be true if you had xyz.example.com or
thisisanothersubdomain.example.com.

P.S. When using example url's, use example.com, example.org, etc.
That's what they were set up for.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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