Re: [WebDNA] Set a cookie via setmimeheader?

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111800
interpreted = N
texte = --047d7b111dd1126f29050aca7bc1 Content-Type: text/plain; charset=UTF-8 Ken, This works for me. Sets a secure httponly session cookie. - Tom [setmimeheader name=Set-Cookie&value=smSessionId=[url][url][getcookie name=smSessionId][/url][/url]; path=/; domain=[grep search=www&replace=][getmimeheader name=host][/grep]; secure; HttpOnly] ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On 22 December 2014 at 05:49, Kenneth Grome wrote: > WebDNA does not support Max-Age in its [setcookie] tag so I have > to set a cookie via [setmimeheader]. Can anyone post an example > of how to do this? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Management > > --------------------------------------------------------- > 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 > --047d7b111dd1126f29050aca7bc1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ken,

This works for me.=C2=A0 Sets a se= cure httponly session cookie.

- Tom

=


[setmimeheader name=3DSet-Cookie&a= mp;value=3DsmSessionId=3D[url][url][getcookie name=3DsmSessionId][/url][/ur= l]; path=3D/; domain=3D[grep search=3Dwww&replace=3D][getmimeheader nam= e=3Dhost][/grep]; secure; HttpOnly]


=




= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital = Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street<= br>Temple Bar,Dublin 2
Ireland
--------------------------------------= --------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]:= <http://ww= w.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

On 22 December 2014 at 05:49, Kenneth Grome = <ken@webdnasolutions.com> wrote:
WebDNA does not support Max-Age in its [setcookie] tag so I h= ave
to set a cookie via [setmimeheader].=C2=A0 Can anyone post an example
of how to do this?

Regards,
Kenneth Grome
WebDNA Solutions
http://www.web= dnasolutions.com
Web Database Systems and Linux Server Management

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--047d7b111dd1126f29050aca7bc1-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Set a cookie via setmimeheader? (Kenneth Grome 2014)
  2. Re: [WebDNA] Set a cookie via setmimeheader? (Tom Duke 2014)
  3. [WebDNA] Set a cookie via setmimeheader? (Kenneth Grome 2014)
--047d7b111dd1126f29050aca7bc1 Content-Type: text/plain; charset=UTF-8 Ken, This works for me. Sets a secure httponly session cookie. - Tom [setmimeheader name=Set-Cookie&value=smSessionId=[url][url][getcookie name=smSessionId][/url][/url]; path=/; domain=[grep search=www&replace=][getmimeheader name=host][/grep]; secure; HttpOnly] ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On 22 December 2014 at 05:49, Kenneth Grome wrote: > WebDNA does not support Max-Age in its [setcookie] tag so I have > to set a cookie via [setmimeheader]. Can anyone post an example > of how to do this? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Management > > --------------------------------------------------------- > 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 > --047d7b111dd1126f29050aca7bc1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ken,

This works for me.=C2=A0 Sets a se= cure httponly session cookie.

- Tom

=


[setmimeheader name=3DSet-Cookie&a= mp;value=3DsmSessionId=3D[url][url][getcookie name=3DsmSessionId][/url][/ur= l]; path=3D/; domain=3D[grep search=3Dwww&replace=3D][getmimeheader nam= e=3Dhost][/grep]; secure; HttpOnly]


=




= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital = Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street<= br>Temple Bar,Dublin 2
Ireland
--------------------------------------= --------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]:= <http://ww= w.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

On 22 December 2014 at 05:49, Kenneth Grome = <ken@webdnasolutions.com> wrote:
WebDNA does not support Max-Age in its [setcookie] tag so I h= ave
to set a cookie via [setmimeheader].=C2=A0 Can anyone post an example
of how to do this?

Regards,
Kenneth Grome
WebDNA Solutions
http://www.web= dnasolutions.com
Web Database Systems and Linux Server Management

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--047d7b111dd1126f29050aca7bc1-- Tom Duke

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:

Display [price] in banner ad (1998) Custom WebCat Prefs ... (1997) OLD ORDERS (1998) Last Record not recognized? (1999) [input] [/input] (1997) Document Contains No Data! (1997) I try hard to think positively (1998) Convertchars Problem (2004) [WebDNA] Before I write this AJAX code from scratch ... (2015) Shopping cart now bad (1997) AE aware WebCatalog.acgi? (1997) Subtotal Not Calculated on Invoice.html (1998) .. more on sliding discounts... (1997) Can you do this??? and other stuff (1997) [UPPERCASE] (1997) creator code (1997) Problem with Showif & Applescript (1997) A quickie question (1997) Question... (2002) Shipping by order total (2003)