Re: setting cookies for another domain?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42990
interpreted = N
texte = Yes, you can set cookies for as many domains as you want. There is nothing more to it.-----Original Message----- From: dale's stuff [mailto:stuff@colony.net] Sent: Wednesday, August 28, 2002 10:13 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: setting cookies for another domain? Hi all,On Thursday, August 29, 2002, at 06:00 AM, Bob Minor wrote:> On 8/28/02 6:45 PM, dale's stuff wrote: > >> Hi, >> >> I want to start setting cookies from domain 1 that can also be read from >> domain 2 >> >> I assume I would need to set the cookies for both domains when I set them. >> >> The reason is that I have a chat room on domain 1, but I will soon open >> up >> a new domain that gives direct access to the chat from domain 2. >> >> For my regular users I want them to be able to access the chat from >> either >> domain (I store their nickname and chat profile in cookies). >> >> Anyone see any problems with this approach? > You can't set a cookie for another domain, but you can have www.mydomain. > comI thought you could set a cookie for any domain you want, you just can't READ cookies for other domains. How did the banners ads I used to run set cookies for their domain when visiting my site then?> and you can also run www2.hisdomain.com and you can set the cookie on > mydomain.com redirect to www2.hisdomain.com set the cookie and on to > www.hisdomain.com, which could read any cookies set by www2 that was on > your > machine. Course this will require his cooperation and may even be more work > than using a referrer solution.Both domains in question are mine and are on the same server.> > Robert Minor > Director of Internet Services ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: setting cookies for another domain? (Kenneth Grome 2002)
  2. Re: setting cookies for another domain? (Bob Minor 2002)
  3. Re: setting cookies for another domain? (Pedro Rivera 2002)
  4. Re: setting cookies for another domain? (Matthew Bohne 2002)
  5. Re: setting cookies for another domain? (dale's stuff 2002)
  6. Re: setting cookies for another domain? (Kenneth Grome 2002)
  7. Re: setting cookies for another domain? (dale's stuff 2002)
  8. Re: setting cookies for another domain? (Alain Russell 2002)
  9. Re: setting cookies for another domain? (Bob Minor 2002)
  10. Re: setting cookies for another domain? (Kenneth Grome 2002)
  11. Re: setting cookies for another domain? (Nitai @ ComputerOil 2002)
  12. setting cookies for another domain? (dale's stuff 2002)
Yes, you can set cookies for as many domains as you want. There is nothing more to it.-----Original Message----- From: dale's stuff [mailto:stuff@colony.net] Sent: Wednesday, August 28, 2002 10:13 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: setting cookies for another domain? Hi all,On Thursday, August 29, 2002, at 06:00 AM, Bob Minor wrote:> On 8/28/02 6:45 PM, dale's stuff wrote: > >> Hi, >> >> I want to start setting cookies from domain 1 that can also be read from >> domain 2 >> >> I assume I would need to set the cookies for both domains when I set them. >> >> The reason is that I have a chat room on domain 1, but I will soon open >> up >> a new domain that gives direct access to the chat from domain 2. >> >> For my regular users I want them to be able to access the chat from >> either >> domain (I store their nickname and chat profile in cookies). >> >> Anyone see any problems with this approach? > You can't set a cookie for another domain, but you can have www.mydomain. > comI thought you could set a cookie for any domain you want, you just can't READ cookies for other domains. How did the banners ads I used to run set cookies for their domain when visiting my site then?> and you can also run www2.hisdomain.com and you can set the cookie on > mydomain.com redirect to www2.hisdomain.com set the cookie and on to > www.hisdomain.com, which could read any cookies set by www2 that was on > your > machine. Course this will require his cooperation and may even be more work > than using a referrer solution.Both domains in question are mine and are on the same server.> > Robert Minor > Director of Internet Services ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Pedro Rivera

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Almost a there but..bye bye NetCloak (1997) Searchable list archive (1997) PCS Emailer's role ? (1997) Orderfile Info is Dissappearing (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) This list needs a digest: rant, rave... (1997) Cart Transfer from Un-Secure to Secure (2000) F3 crashing server (1997) eMailer replacement? (1998) Multiple security dbs (1997) docs for WebCatalog2 (1997) Modifying order output (1997) [OT] ImageMagick error (2004) Dedicated hosting recommendations (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Why does setheader provide a db= parameter? (2005) Referrer field to header field conversion (1997) Webcatalog 4.0 - When will we be able to beta test it? (2000) Credit card processing - UK (1997) Help with Shipping Costs (1997)