Re: Cookie Newbie

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43529
interpreted = N
texte = on 9/18/02 10:12 AM, Dan Strong at webdna@stronggraphicdesign.com so noted...> After successful login: > [SETCOOKIE > name=Login&value=TRUE&path=/&domain=www.mydomain.com] > > Then, on the pages requiring the cookie: > [GETCOOKIE name=Login] > > I do not fully understand the following even after mild > testing: > > 1) For dev purposes, the domain is /localhost/mydomain/, > but on the server, of course, it's www.mydomain.com. How > do I set this to be able to test > locally?...&domain=localhost/mydomain/We leave the domain parameter off. Then it doesn't matter if we're coming from localhost, the production server or an entirely new host -- the browser sets the cookie appropriate for the domain.[setcookie name=Login&value=TRUE&path=/] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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: Cookie Newbie (Bob Minor 2002)
  2. Re: Cookie Newbie (Rob Marquardt 2002)
  3. Re: Cookie Newbie (Inkblot Media 2002)
  4. Re: Cookie Newbie (Clint Davis 2002)
  5. Re: Cookie Newbie (Dan Strong 2002)
  6. Re: Cookie Newbie (Dan Strong 2002)
  7. Re: Cookie Newbie (Inkblot Media 2002)
  8. Re: Cookie Newbie (Dan Strong 2002)
  9. Re: Cookie Newbie (Dan Strong 2002)
  10. Re: Cookie Newbie (Dan Strong 2002)
  11. Re: Cookie Newbie (Brian Fries 2002)
  12. Re: Cookie Newbie (Gyorgy Ordody 2002)
  13. Re: Cookie Newbie (Inkblot Media 2002)
  14. Re: Cookie Newbie (ROBERT MCPEAK 2002)
  15. Cookie Newbie (Dan Strong 2002)
on 9/18/02 10:12 AM, Dan Strong at webdna@stronggraphicdesign.com so noted...> After successful login: > [SETCOOKIE > name=Login&value=TRUE&path=/&domain=www.mydomain.com] > > Then, on the pages requiring the cookie: > [GETCOOKIE name=Login] > > I do not fully understand the following even after mild > testing: > > 1) For dev purposes, the domain is /localhost/mydomain/, > but on the server, of course, it's www.mydomain.com. How > do I set this to be able to test > locally?...&domain=localhost/mydomain/We leave the domain parameter off. Then it doesn't matter if we're coming from localhost, the production server or an entirely new host -- the browser sets the cookie appropriate for the domain.[setcookie name=Login&value=TRUE&path=/] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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/ Rob Marquardt

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:

[WebDNA] Installing 7.1.702 on CentOS (2012) Weird problems with [SHOWIF]s (1997) Which [index]? (1997) WebCat2 Append problem (B14Macacgi) (1997) foreign languages, email, webcat (1998) sorting problem for sku=0? (1998) Handy Browser Counter Tip (1997) Generating unique SKU from [cart] (1997) [WebDNA] Stupid question: setheader (2017) HELP WITH DATES (1997) More Applescript (1997) [sendmail] questions... (1997) WebCat .pdf file is still messed up... (2000) Location of Browser Info.txt file (1997) WebMerchant and PCAuthorize (1998) Card clearance, problems - solutions? (1997) Finding max value for a field (1997) WebCatalog for Postcards ? (1997) Uploading out of FMP (2001) Calendar (1997)