"Victor" <vi*@vic.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
Thanks, I understand what both of you are writing.
However... www.mysite.com and mysite.com, by definition and standard,
point to the same
website with the same IP address - that is, the top level subdomain.
Not by any standard I've seen, and absolutely not by definition. mysite.com
and
www.mysite.com are 2 separate host names, how they resolve is
*entirely* up to DNS. If you had said 'by convention', I'd have to agree,
but that's the extent of it.
Of course, www2.mysite.com and www.mysite.com can be different websites
with different
IP addresses.
www2 and www are neither no more nor no less related to their parent domain.
www is merely a very widely used convention, nothing more. It could just
as easily be xxx. or xyz., the letters themselves mean nothing to DNS, they
have no special significance.
Note that if you were talking about regular cookies (as opposed to the
session cookie) you could use the domain property to allow child domains to
reference cookies in the parent domain, but you have no control over the
session cookie at all, it's a black box. So if you need to support multiple
host names for the same logical site, *and* the ASP session, redirection is
your solution.
-Mark