Re: setting cookies for another domain?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42982
interpreted = N
texte = >> 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. > >Just leave the &domain= part off when you set the cookie:-) Nitai, does this actually work or is it just a theory? My assumption is that it will not work ...When you leave the domain off when setting the cookie, the browser sets the domain for that cookie to the domain that was used during the connection -- which means the cookie will NOT work on any other domain, it will only work on the current domain.Therefore, I would imagine that you will need to set one cookie for each domain that you want the visitor to use them on (as you assumed you would have to do). Then the browser will have two cookies with the same values, one for each domain.Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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)
>> 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. > >Just leave the &domain= part off when you set the cookie:-) Nitai, does this actually work or is it just a theory? My assumption is that it will not work ...When you leave the domain off when setting the cookie, the browser sets the domain for that cookie to the domain that was used during the connection -- which means the cookie will NOT work on any other domain, it will only work on the current domain.Therefore, I would imagine that you will need to set one cookie for each domain that you want the visitor to use them on (as you assumed you would have to do). Then the browser will have two cookies with the same values, one for each domain.Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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/ Kenneth Grome

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:

[isfile] ? (1997) [OT] Disable/enable field (2003) Is the time limited demo still available? (2002) A few questions. . . (1997) Shopping Cart - prices? (1997) Webcat 2.0.1 date math bug -> Crash! (1997) converting characters in form (1997) Text data with spaces in them... (1997) Email address checker (2002) Frames and WebCat (1997) read and write you own cookies with webcat (1997) What am I missing (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) [WebDNA] WebDNA 7 (2011) Cart# (1997) Multiple prices (1997) Stumpted Again (1997) Pirated WebCat? NOT... (2003) Last Record not recognized? (1999) Multiple Ad databases? (1997)