Set Cookie for Multiple Domain Extensions

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61468
interpreted = N
texte = Is there a way to set multiple domains in the [setcookie] function? We have a client that has 6 domain names and I need a way to get the cookie to recognize all 6 so that the users cant vote on a survey more than once by going to a different domain name or extension. Here is what I mean: [setcookie name=blahblah&value=1&expires=blah&path=/&domain=somedomain.com] I need to set the cookie to recognize somedomain.net, somedomain.org, somedomain2.com, somedomain2.org & somedomain2.net. Any ideas on how to do this (besides writing 6 cookies)??? Thanks, Eric Miller The GoTriCities Network ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Set Cookie for Multiple Domain Extensions ( Stuart Tremain 2005)
  2. Re: Set Cookie for Multiple Domain Extensions ( devaulw@onebox.com 2005)
  3. Re: Set Cookie for Multiple Domain Extensions ( John Peacock 2005)
  4. Set Cookie for Multiple Domain Extensions ( "Eric Miller" 2005)
Is there a way to set multiple domains in the [setcookie] function? We have a client that has 6 domain names and I need a way to get the cookie to recognize all 6 so that the users cant vote on a survey more than once by going to a different domain name or extension. Here is what I mean: [setcookie name=blahblah&value=1&expires=blah&path=/&domain=somedomain.com] I need to set the cookie to recognize somedomain.net, somedomain.org, somedomain2.com, somedomain2.org & somedomain2.net. Any ideas on how to do this (besides writing 6 cookies)??? Thanks, Eric Miller The GoTriCities Network ------------------------------------------------------------- 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://webdna.smithmicro.com/ "Eric Miller"

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:

Encrypt (1999) Force a search at the default.tmpl page? (1997) Referrer field to header field conversion (1997) Tag Corruption (2000) How much is too much? I can never remember the answer. (2002) Customer - again (1998) Does summarizing found records require sorting on that same field? (1999) Sendmail & Spell Checker (2001) A Suggestion? (1998) URL for Discussion Archive (1997) NT Version on IIS 4.0 (1997) calculating unique time (1998) .. more on sliding discounts... (1997) Document Contains No Data (1998) A question on sub-categories (1997) Part Html part WebDNA (1997) Empty Shopping Carts (1998) Help! WebCat2 bug (1997) Opinion: [input] should be called [output] ... (1997) Some Questions (1997)