Re: [WebDNA] Secure Cookies
This WebDNA talk-list message is from 2020
It keeps the original formatting.
numero = 115012
interpreted = N
texte = 2640Lets 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: cookieNameVALUE is set to: cookieValueRAW is set to: domain=3Dexample.com; secure; HttpOnlyThe 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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
2640Lets 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: cookieNameVALUE is set to: cookieValueRAW is set to: domain=3Dexample.com; secure; HttpOnlyThe 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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug 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:
For those of you not on the WebCatalog Beta... (1997)
WC2b15 File Corruption (1997)
Realtime Top 10 (1999)
[BoldWords] WebCat.acgib15Mac (1997)
multi-paragraph fields (1997)
iTools/WebDNA Email (2005)
multipart (2004)
sort problems....bug or brain fart? (1997)
Finding max value for a field (1997)
RequiredFields template (1997)
[WebDNA] XML Parser (2016)
Not really WebCat (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
[WebDNA] WARNING Do not upgrade to OS X Server 5.04 (2015)
[WebDNA] Manual install on Manjaro and MariaDB (2017)
Emailer help....! (1997)
Pricing based on quantity (2000)
Re:2nd WebCatalog2 Feature Request (1996)
For those of you not on the WebCatalog Beta... (1997)
calculating tax rates, mail order solutions and version 2 (1997)