Re: [WebDNA] Cookie behavior

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105715
interpreted = N
texte = I thought that you needed that. The "mydomain", FWIW, is actually the = domain of our website. Not literally "mydomain".=20 Jon On Aug 26, 2010, at 11:34 AM, Kenneth Grome wrote: > If you leave the domain and path parameters out, the cookie will = probably be created. Do you actually have to use those parameters? >=20 > Sincerely, > Kenneth Grome >=20 >=20 >=20 >=20 >=20 >=20 >=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 > --------------------------------------------------------- > 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)
I thought that you needed that. The "mydomain", FWIW, is actually the = domain of our website. Not literally "mydomain".=20 Jon On Aug 26, 2010, at 11:34 AM, Kenneth Grome wrote: > If you leave the domain and path parameters out, the cookie will = probably be created. Do you actually have to use those parameters? >=20 > Sincerely, > Kenneth Grome >=20 >=20 >=20 >=20 >=20 >=20 >=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 > --------------------------------------------------------- > 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:

Forcing a NEWCART (1997) Plugin or CGI or both (1997) all records returned. (1997) [WebDNA] .htm files (2008) Updating a database once per day - An example (1998) The code, one more time. (2003) How is it done? (1998) RE: Force a number with JavaScript (1998) [WebDNA] special chars (2009) Image maps/Webcat (1997) [ShowIf] and empty fields (1997) Replacing a Word (1999) Error: Permision deny. Unable to append to'db=^WebMerchant/Stores.db' .Ignoring [Append] context (2002) Format question (2001) Make sure I understand this??? (1997) Problem displaying search result (1997) Emailing html (1998) AcountAutherizer (2002) 500 internal error? (2004) [OT] Domain Name Scam (2000)