Hi, thanks for the further clarity all, knowledge ap=preciated.
Just for my understanding pls Chris, when showing be=low how to use RAW within SETCOOKIE, it's mentioned that one =91must still =specify a name and value=92, though the example after shows the domain para=meter with a value, then secure and also HttpOnly parameters without a value.
Is that right? Or perhaps I haven't fully understood= the RAW part correctly?
Thanks and regards,
Scott
From: talk@webdna.us
Sent: 02 February 2020 13:03
To: <talk@webdna.us>
Subject: Re: [WebDNA] Secure Cookies
It was 8.5 , along with 3 new parameters:
HTTPONLY
MAXAGE
RAW
HTTPONLY should be T or F, just like SECURE. It adds a HttpOnly to the cook=ie.
MAXAGE should be a date just like EXPIRES. It adds a Max-Age=3D to the cook=ie
RAW lets you add anything you want to the cookie. You can use it conjunctio=n with the other parameters or in place of them. You must still specify a n=ame and value. Separate multiple raw parameters with a semi-colon and a spa=ce.
For example:
[SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&HTTPONLY=3DT&R=AW=3Ddomain=3Dexample.com; secure]
or
[SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&RAW=3Ddomain=3Dexample.co=m; secure; HttpOnly]
- chris
Hi, thanks for the further clarity all, knowledge ap=preciated.
Just for my understanding pls Chris, when showing be=low how to use RAW within SETCOOKIE, it's mentioned that one =91must still =specify a name and value=92, though the example after shows the domain para=meter with a value, then secure and also HttpOnly parameters without a value.
Is that right? Or perhaps I haven't fully understood= the RAW part correctly?
Thanks and regards,
Scott
From: talk@webdna.us
Sent: 02 February 2020 13:03
To: <talk@webdna.us>
Subject: Re: [WebDNA] Secure Cookies
It was 8.5 , along with 3 new parameters:
HTTPONLY
MAXAGE
RAW
HTTPONLY should be T or F, just like SECURE. It adds a HttpOnly to the cook=ie.
MAXAGE should be a date just like EXPIRES. It adds a Max-Age=3D to the cook=ie
RAW lets you add anything you want to the cookie. You can use it conjunctio=n with the other parameters or in place of them. You must still specify a n=ame and value. Separate multiple raw parameters with a semi-colon and a spa=ce.
For example:
[SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&HTTPONLY=3DT&R=AW=3Ddomain=3Dexample.com; secure]
or
[SETCOOKIE NAME=3DcookieName&VALUE=3DcookieValue&RAW=3Ddomain=3Dexample.co=m; secure; HttpOnly]
- chris
DOWNLOAD WEBDNA NOW!
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...