Ahh, because they're simply boolean, I now follow.=p>
Rcvd with thanks.
Scott
From: talk@webdna.us
Sent: 02 February 2020 14:42
To: talk@webdna.us
Subject: Re: [WebDNA] Secure Cookies
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
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing listtalk@webdna.us To u=nsubscribe, E-mail to:talk-leave@webdna=..us archives:htt=p://www.webdna.us/page.dna?numero=3D55 Bug Reporting:support@webdna.us
From: talk@webdna.us
Sent: 02 February 2020 13:03
To: <talk@web=dna.us>
Subject: Re: [WebDNA] Secure Cookies
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing listtalk@webdna.us To u=nsubscribe, E-mail to:talk-leave@webdna=..us archives:htt=p://www.webdna.us/page.dna?numero=3D55 Bug Reporting:support@webdna.usChris,Hi - I missed the RAW option. That's great, all options availabl=e now.- TomOn Sun, 2 Feb 2020 at 11:19, <talk@webdna.us> wrot=e: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
Ahh, because they're simply boolean, I now follow.=p>
Rcvd with thanks.
Scott
From: talk@webdna.us
Sent: 02 February 2020 14:42
To: talk@webdna.us
Subject: Re: [WebDNA] Secure Cookies
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
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing listtalk@webdna.us To u=nsubscribe, E-mail to:talk-leave@webdna=..us archives:htt=p://www.webdna.us/page.dna?numero=3D55 Bug Reporting:support@webdna.us
From: talk@webdna.us
Sent: 02 February 2020 13:03
To: <talk@web=dna.us>
Subject: Re: [WebDNA] Secure Cookies
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing listtalk@webdna.us To u=nsubscribe, E-mail to:talk-leave@webdna=..us archives:htt=p://www.webdna.us/page.dna?numero=3D55 Bug Reporting:support@webdna.usChris,Hi - I missed the RAW option. That's great, all options availabl=e now.- TomOn Sun, 2 Feb 2020 at 11:19, <talk@webdna.us> wrot=e: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...