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:

Virtual hosting and webcatNT (1997) showif and cart (1997) Frames and WebCat (1997) First postarg not taking in $Commands (1997) Conditional searching & displaying (1997) two unique banners on one page (1997) Bug - 4.5 (2002) Questions (1998) Quicky Date thing (2005) Remote Admin Design Question (1998) [WebDNA] Append speed limits (2008) New index for docs (1997) Fwd: Handling Charges (1999) What am I doing wrong? (2000) IE, Layers, and Select (2002) shipcost (1997) Hard Questions ? (1997) Odd error in logs (1998) text size limitation (1997) customizing the color of user's pages (1997)