Re: [WebDNA] Secure Cookies

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115012
interpreted = N
texte = 2640 Lets look at this example further in depth: [SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&RAW=3Ddomain=3Dexample.co= m; secure; HttpOnly] With that, we've set three different WebDNA parameters: NAME is set to: cookieName VALUE is set to: cookieValue RAW is set to: domain=3Dexample.com; secure; HttpOnly The part in the documentation about how you =E2=80=98must still specify = a name and value=E2=80=99 is only referring to the fact that you have to = specify the cookie's NAME=3D and VALUE=3D parameters to WebDNA when you = call SETCOOKIE. It doesn't apply to the contents of the RAW=3D = parameter. WebDNA reads everything after RAW=3D and adds it to the end of the = cookie. The RAW part can be any cookie attributes supported by the = cookie RFCs. In the example above, the "secure;" and "HttpOnly;" are all = part of that same RAW parameter that also includes "domain=3Dexample.com;"= I believe secure; and HttpOnly; are the only legal cookie attributes = that are valueless. All of the others like Expires=3D will have a value. = RFC 6265 has all of the details. - chris > On Feb 2, 2020, at 16:19, talk@webdna.us wrote: >=20 > Hi, thanks for the further clarity all, knowledge appreciated. > =20 > Just for my understanding pls Chris, when showing below how to use RAW = within SETCOOKIE, it's mentioned that one =E2=80=98must still specify a = name and value=E2=80=99, though the example after shows the domain = parameter with a value, then secure and also HttpOnly parameters without = a value. > =20 > Is that right? Or perhaps I haven't fully understood the RAW part = correctly? > =20 > Thanks and regards, > Scott --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Secure Cookies ("Scott @ Itsula" 2020)
  2. Re: [WebDNA] Secure Cookies (christophe.billiottet@webdna.us 2020)
  3. Re: [WebDNA] Secure Cookies (Stuart Tremain 2020)
  4. Re: [WebDNA] Secure Cookies (Brian Harrington 2020)
  5. Re: [WebDNA] Secure Cookies (Stuart Tremain 2020)
  6. RE: [WebDNA] Secure Cookies ("Scott @ Itsula" 2020)
  7. Re: [WebDNA] Secure Cookies (Tom Duke 2020)
  8. RE: [WebDNA] Secure Cookies ("Scott @ Itsula" 2020)
  9. Re: [WebDNA] Secure Cookies (Tom Duke 2020)
  10. Re: [WebDNA] Secure Cookies (christophe.billiottet@webdna.us 2020)
  11. Re: [WebDNA] Secure Cookies (Stuart Tremain 2020)
  12. Re: [WebDNA] Secure Cookies (christophe.billiottet@webdna.us 2020)
  13. Re: [WebDNA] Secure Cookies (Stuart Tremain 2020)
  14. Re: [WebDNA] Secure Cookies (Tom Duke 2020)
  15. RE: [WebDNA] Secure Cookies ("Scott @ Itsula" 2020)
  16. [WebDNA] Secure Cookies - Further reading (Stuart Tremain 2020)
  17. [WebDNA] Secure Cookies (Stuart Tremain 2020)
  18. Re: [WebDNA] Secure cookies (HttpOnly/Secure) ("Dan Strong" 2013)
  19. Re: [WebDNA] Secure cookies (HttpOnly/Secure) (Tom Duke 2013)
  20. Re: [WebDNA] Secure cookies (HttpOnly/Secure) (WebDNA 2013)
  21. [WebDNA] Secure cookies (HttpOnly/Secure) ("Dan Strong" 2013)
  22. Re: [WebDNA] Secure Cookies (Tom Duke 2009)
  23. Re: [WebDNA] Secure Cookies (Tom Duke 2009)
  24. Re: [WebDNA] Secure Cookies (William DeVaul 2009)
  25. Re: [WebDNA] Secure Cookies (Tom Duke 2009)
  26. Re: [WebDNA] Secure Cookies (Frank Nordberg 2009)
  27. Re: [WebDNA] Secure Cookies (Govinda 2009)
  28. Re: [WebDNA] Secure Cookies ("Terry Wilson" 2009)
  29. Re: [WebDNA] Secure Cookies (William DeVaul 2009)
  30. Re: [WebDNA] Secure Cookies (William DeVaul 2009)
  31. Re: [WebDNA] Secure Cookies (Stuart Tremain 2009)
  32. Re: [WebDNA] Secure Cookies (Donovan Brooke 2009)
  33. Re: [WebDNA] Secure Cookies (Stuart Tremain 2009)
  34. Re: [WebDNA] Secure Cookies ("Terry Wilson" 2009)
  35. Re: [WebDNA] Secure Cookies (Stuart Tremain 2009)
  36. Re: [WebDNA] Secure Cookies (William DeVaul 2009)
  37. [WebDNA] Secure Cookies (Stuart Tremain 2009)
2640 Lets look at this example further in depth: [SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&RAW=3Ddomain=3Dexample.co= m; secure; HttpOnly] With that, we've set three different WebDNA parameters: NAME is set to: cookieName VALUE is set to: cookieValue RAW is set to: domain=3Dexample.com; secure; HttpOnly The part in the documentation about how you =E2=80=98must still specify = a name and value=E2=80=99 is only referring to the fact that you have to = specify the cookie's NAME=3D and VALUE=3D parameters to WebDNA when you = call SETCOOKIE. It doesn't apply to the contents of the RAW=3D = parameter. WebDNA reads everything after RAW=3D and adds it to the end of the = cookie. The RAW part can be any cookie attributes supported by the = cookie RFCs. In the example above, the "secure;" and "HttpOnly;" are all = part of that same RAW parameter that also includes "domain=3Dexample.com;"= I believe secure; and HttpOnly; are the only legal cookie attributes = that are valueless. All of the others like Expires=3D will have a value. = RFC 6265 has all of the details. - chris > On Feb 2, 2020, at 16:19, talk@webdna.us wrote: >=20 > Hi, thanks for the further clarity all, knowledge appreciated. > =20 > Just for my understanding pls Chris, when showing below how to use RAW = within SETCOOKIE, it's mentioned that one =E2=80=98must still specify a = name and value=E2=80=99, though the example after shows the domain = parameter with a value, then secure and also HttpOnly parameters without = a value. > =20 > Is that right? Or perhaps I haven't fully understood the RAW part = correctly? > =20 > Thanks and regards, > Scott --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us . christophe.billiottet@webdna.us

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: Found Items syntax, etc. (1997) WebCat for Unix?? (1997) no global [username] or [password] displayed ... (1997) Upgrading old WebCat Database Files (1997) Help!!!! Purchases not going through! (1997) [thisurl] file name? (1999) OK, here goes... (1997) W* V4.2 SSL and webcat very slow (2000) WebCAT has the devil in it! (2003) WebCatalog vs WebDNA (2002) Search crashing server (1998) WebCatalog Hosting (1998) [Announce] WebCatalog 3.0 Beta Program (1998) New public beta available (1997) Close-to Comparison Code (1998) PIXO support (1997) Protecting webdelivery (1997) PIXO (1997) cart (1997) Formatting dates stored in db (2003)