Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Cookie Problems on Multiple Host Setup

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  iis.mmc just closes when displaying property shee..  
Author Message
anonymous116

External


Since: Oct 16, 2003
Posts: 3



(Msg. 1) Posted: Thu Oct 16, 2003 6:01 pm
Post subject: Cookie Problems on Multiple Host Setup
Archived from groups: microsoft>public>inetserver>iis (more info?)

I recently setup multiple hosts on a IIS 5.0 server by having two different DNS names pointing to the same server address. After doing so, my ASP page that uses Cookies doesn't work, using either DNS name, but if I use the WINS name it works fine, am I missing an important step?

 >> Stay informed about: Cookie Problems on Multiple Host Setup 
Back to top
Login to vote
anonymous116

External


Since: Oct 16, 2003
Posts: 3



(Msg. 2) Posted: Fri Oct 17, 2003 2:56 pm
Post subject: RE: Cookie Problems on Multiple Host Setup [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I guess I didn't explained myself correctly. The problem I have isn't sharing cookies between domains, what happend was that I setup multiple hosts on a single server using the advanced settings on IIS Admin. I have two different directories setup for each host name, and I had our network group setup two different DNS names with the same IP address to point to the server. When I tested the setup using the DNS names, the pages that are associated with each name is correct. My problem is that on pages that uses cookies, they aren't working anymore when using the DNS name. When I use the WINS name for the server, which points to one of the two hosts, it works. We have this type of setup on another server and it works fine, unfortunately the person who setup that server no longer works for the company.

Anyway since you brought it up, how do I set the master domain property?

 >> Stay informed about: Cookie Problems on Multiple Host Setup 
Back to top
Login to vote
atrax1

External


Since: Oct 17, 2003
Posts: 1



(Msg. 3) Posted: Fri Oct 17, 2003 5:26 pm
Post subject: Re: Cookie Problems on Multiple Host Setup [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

well, yes. Cookies are domain-based. if you're using two different domains
you can't share cookies. you can set the .domain property to a master domain
if you're using two different subdomains such as

site1.domain.com
site2.domain.com

in this case, set the .domain to 'domain.com' and they can share cookies



--
Atrax, MVP, IIS

<a style='text-decoration: underline;' href="http://rtfm.atrax.co.uk/" target="_blank">http://rtfm.atrax.co.uk/</a>

"Steven" <anonymous.TakeThisOut@discussions.microsoft.com> wrote in message
news:A87C9BCF-6494-4C9F-822F-02FF5E3F0D18@microsoft.com...
 > I recently setup multiple hosts on a IIS 5.0 server by having two
different DNS names pointing to the same server address. After doing so, my
ASP page that uses Cookies doesn't work, using either DNS name, but if I use
the WINS name it works fine, am I missing an important step?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Cookie Problems on Multiple Host Setup 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]