Re: Cookie Question

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22337
interpreted = N
texte = Yes, this is part of the cookie spec. A browser will only send a cookie back to the server it came from. This is for security reasons, obviously. I too have dealt with multiple dns aliases to the same server which caused problems with cookies and also with dynamic fonts, which also only work on the server that they are encoded for. In fact, the fonts even have a domain name case sensitivity bug that makes them fail if the user types Pop-art instead of pop-art for instance. Because of this, I do [showif] contexts based on the header information to show or hide different cookie commands and font files. Because this is a big pain, I have since made it policy to only create one dns entry to the server for any single domain, or just do a redirect for the clients who don't like to type the www.Mike Davis---------- >From: josh@pop-art.com >To: WebDNA-Talk@smithmicro.com >Subject: Cookie Question >Date: Wed, Jan 6, 1999, 12:02 PM >> I am having some trouble with cookies... > > It appears that when we set the host in the [setcookie] command as > www.pop-art.com, cookies will only be set if I enter the site as > www.pop-art.com, but they will not be set if I enter the site as > pop-art.com. Has anyone had any experience with this? Is there are > workaround? > > Thanks, > > Josh > --------------------------------------------------------------------------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: session cookie question ( Stuart Tremain 2006)
  2. Re: session cookie question ( "Bess Ho" 2006)
  3. session cookie question ( Lester 2006)
  4. Re: Cart/Cookie question ( Patrick Junkroski 2005)
  5. Re: Cart/Cookie question ( Gary Krockover 2005)
  6. Re: Cart/Cookie question ( "Dennis J. Bonsall, Jr." 2005)
  7. Cart/Cookie question ( Patrick Junkroski 2005)
  8. Re: cookie question (dale's stuff 2002)
  9. Re: cookie question (Robert Wade 2002)
  10. cookie question (Lester Emo 2002)
  11. Cookie question (Mike Jones 1999)
  12. Re: Cookie Question (Josh 1999)
  13. Re: Cookie Question (Sandra L. Pitner 1999)
  14. RE: Cookie Question (Olin Lagon 1999)
  15. Re: Cookie Question (PCS Technical Support 1999)
  16. Cookie Question (josh@pop-art.com 1999)
  17. Re: Cookie Question (Mike_Davis 1999)
Yes, this is part of the cookie spec. A browser will only send a cookie back to the server it came from. This is for security reasons, obviously. I too have dealt with multiple dns aliases to the same server which caused problems with cookies and also with dynamic fonts, which also only work on the server that they are encoded for. In fact, the fonts even have a domain name case sensitivity bug that makes them fail if the user types Pop-art instead of pop-art for instance. Because of this, I do [showif] contexts based on the header information to show or hide different cookie commands and font files. Because this is a big pain, I have since made it policy to only create one dns entry to the server for any single domain, or just do a redirect for the clients who don't like to type the www.Mike Davis---------- >From: josh@pop-art.com >To: WebDNA-Talk@smithmicro.com >Subject: Cookie Question >Date: Wed, Jan 6, 1999, 12:02 PM >> I am having some trouble with cookies... > > It appears that when we set the host in the [setcookie] command as > www.pop-art.com, cookies will only be set if I enter the site as > www.pop-art.com, but they will not be set if I enter the site as > pop-art.com. Has anyone had any experience with this? Is there are > workaround? > > Thanks, > > Josh > --------------------------------------------------------------------------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 > > > Mike_Davis

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:

WebCat2 several catalogs? (1997) creator code (1997) Why doesn't it change? (1998) SiteEdit NewFile.html ? (1997) Can't Update records (1997) show if date < expiry date (2002) Notepad problems (1998) [OT] Quick Java Question (2007) Will webdna execute before a [redirect]? (1999) WebCatalog for Postcards ? (1997) auto-stripping of spaces (1997) $Replace with [founditems] (1997) Various Problems (1997) Grant, please help me ... (1997) Trouble with formula.db (1997) Cookie set browser session. (1998) Sorting search by date. (2000) Client-side Image Maps and WebCat? (1998) The Robert Elliot Report? (2006) WebCatalog can't find database (1997)