Re: [WebDNA] Cookie behavior

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105719
interpreted = N
texte = Apologies. I left out a bracket on my setcookie without domain and path. = When I added that it worked. But why? Shouldn't it work WITH path and = domain? Jon On Aug 26, 2010, at 11:46 AM, Govinda wrote: > hmmm.. looks right to me. > Is webdna parsing the page at all? > put [date] in the and see if it shows up as todays date. >=20 > I am sure this is something bone simple.. can you put up a test page = where we can test? >=20 > Also, what is the difference between the page where it is working and = the one where it is not? > Keep looking/intuiting until you realize what is different about the = two pages/code lines/environments. >=20 > What platform are you on? (the server) > What version of webdna? >=20 > -Govinda >=20 > On Aug 26, 2010, at 11:29 AM, Jonathan Young wrote: >=20 >> Hello, >>=20 >> I have a page with the following code in the of the page: >>=20 >> [setcookie name=3Dtestcart&value=3D123&path=3D/&domain=3Dwww.mydomain.c= om] >>=20 >> When I view my cookies in the Cookie list in Firefox the cookie is = not being created. I've tried many things. If I then navigate to another = page with the following code: >>=20 >> [getcookie name=3Dtestcart] >>=20 >> Still no cookie is being stored. >>=20 >> Do I need to do something else to initiate the cookie? There is = another cookie on the index page that is being created just fine, not = sure why this one isn't working. Full page ccde is below. >>=20 >> Thanks, >> Jon >>=20 >> >>=20 >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> >> >> =09 >> >>=20 >> >>=20 >> [setcookie name=3Dtestcart&value=3D123&path=3D/&domain=3Dwww.mydomain.c= om] >>=20 >>

>> >>

>>=20 >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > ------------ > Govinda > govinda.webdnatalk@gmail.com >=20 >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cookie behavior (Tom Duke 2010)
  2. Re: [WebDNA] Cookie behavior (Govinda 2010)
  3. Re: [WebDNA] Cookie behavior (Tom Duke 2010)
  4. Re: [WebDNA] Cookie behavior (Jonathan Young 2010)
  5. Re: [WebDNA] Cookie behavior (Govinda 2010)
  6. Re: [WebDNA] Cookie behavior (Tom Duke 2010)
  7. Re: [WebDNA] Cookie behavior (Jonathan Young 2010)
  8. Re: [WebDNA] Cookie behavior (Kenneth Grome 2010)
  9. Re: [WebDNA] Cookie behavior (Govinda 2010)
  10. Re: [WebDNA] Cookie behavior (Jonathan Young 2010)
  11. Re: [WebDNA] Cookie behavior (Jonathan Young 2010)
  12. Re: [WebDNA] Cookie behavior (Kenneth Grome 2010)
  13. [WebDNA] Cookie behavior (Jonathan Young 2010)
Apologies. I left out a bracket on my setcookie without domain and path. = When I added that it worked. But why? Shouldn't it work WITH path and = domain? Jon On Aug 26, 2010, at 11:46 AM, Govinda wrote: > hmmm.. looks right to me. > Is webdna parsing the page at all? > put
[date] in the and see if it shows up as todays date. >=20 > I am sure this is something bone simple.. can you put up a test page = where we can test? >=20 > Also, what is the difference between the page where it is working and = the one where it is not? > Keep looking/intuiting until you realize what is different about the = two pages/code lines/environments. >=20 > What platform are you on? (the server) > What version of webdna? >=20 > -Govinda >=20 > On Aug 26, 2010, at 11:29 AM, Jonathan Young wrote: >=20 >> Hello, >>=20 >> I have a page with the following code in the of the page: >>=20 >> [setcookie name=3Dtestcart&value=3D123&path=3D/&domain=3Dwww.mydomain.c= om] >>=20 >> When I view my cookies in the Cookie list in Firefox the cookie is = not being created. I've tried many things. If I then navigate to another = page with the following code: >>=20 >> [getcookie name=3Dtestcart] >>=20 >> Still no cookie is being stored. >>=20 >> Do I need to do something else to initiate the cookie? There is = another cookie on the index page that is being created just fine, not = sure why this one isn't working. Full page ccde is below. >>=20 >> Thanks, >> Jon >>=20 >> >>=20 >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> >> >> >> >> =09 >> >>=20 >> >>=20 >> [setcookie name=3Dtestcart&value=3D123&path=3D/&domain=3Dwww.mydomain.c= om] >>=20 >>

>> >>

>>=20 >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > ------------ > Govinda > govinda.webdnatalk@gmail.com >=20 >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Jonathan Young

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:

Bad spawn! Finish your work! (2002) F3 crashing server (1997) form data submission gets truncated (1997) Setting up shop (1997) Off Topic: Personal Web Server (1998) send mail problem? (1997) authenticating a second user, the sequel (1997) Transfer of data from Invoice to thank you templates (1998) Virtual hosting and webcatNT (1997) WebCatalog/WebMerchant 2.1 (1998) search not executing from a post, but works fine with (2004) Add to a field (1998) Date format problems (1997) WebCommerce: Folder organization ? (1997) Server Traffic Simulation (1998) RAM variables (1997) Summary search -- speed (1997) accountnum using [listwords] (2001) RE:It just Does't add up!!! (1997) Ok, I'm stumped (1998)