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 sonoted...> 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 comingfrom localhost, the production server or an entirely new host -- the browsersets the cookie appropriate for the domain.[setcookie name=Login&value=TRUE&path=/]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
on 9/18/02 10:12 AM, Dan Strong at webdna@stronggraphicdesign.com sonoted...> 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 comingfrom localhost, the production server or an entirely new host -- the browsersets the cookie appropriate for the domain.[setcookie name=Login&value=TRUE&path=/]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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)