[thelist] PHP Sessions and URL's

deke web at master.gen.in.us
Fri Mar 9 21:08:05 CST 2001


On 9 Mar 2001, at 0:32, Jeremy Keith wrote:

> I have it in the back of my head that some older versions of Netscape only
> accept cookies when the domain contains two dots so www.domain.com would
> work but domain.com wouldn't. Can anyone confirm/deny this?

http://home.netscape.com/newsref/std/cookie_spec.html

If the top-level domain is three letters (i.e, COM, NET, ORG, MIL, 
EDU, GOV, and INT) then two dots are required. If the TLD is two
letters (a geographic TLD), then three dots are required.

But RFC 1034 says that

When a user needs to type a domain name, the length of each label is
omitted and the labels are separated by dots (".").  Since a complete
domain name ends with the root label, this leads to a printed form which
ends in a dot. 

In other words, it's not evolt dot org. It's evolt dot org dot.

deke


--------
I got this powdered water. 
Now I don't know what to add. 
            -- Steven Wright




More information about the thelist mailing list