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:

Calendar Snippet Problems (1998) Format question WC Mac f3 (1997) Searching for Email Address (2004) Multiple prices (1997) emailer w/F2 (1997) PCS Frames (1997) Sherlock and WebCat (1998) Online reference (1997) emailer (1997) Formulas.db + Users.db (1997) is sku a REQUIRED field on NT (1997) WebCat & WebTen (1997) The Box - (2002) Can't find templaes (1997) Bug? I don't know... (1999) Re[2]: Re[2]: WebCatalog on Linux (2000) Sku numbers (1997) MyVitrualMerchant (2007) WebCat2: multiple currency support (1997) More on the email templates (1997)