Re: [WebDNA] Help with work-around format date

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110435
interpreted = N
texte = This is a multi-part message in MIME format. ------=_SW_291620240_1370965173_mpa= Content-Type: text/plain; charset=us-ascii; format=flowed Hi Steve, Late to this... Did you get your answer? I am not aware of any bug in setcookie using the expires param. I wanted to mention also that I agree with you. The secure and httponly params have been on our feature-add list since April 2009, but priorities have made it so they haven't been implemented as of yet. These *will* get added at some point, hopefully in the near future. Sincerely, Donovan On Monday 10/06/2013 at 7:32 am, Steve Graham wrote: > > I did not know about browser non-compliance with Max-Age so it seems > not a solution for IE. Also webdna does not accept Secure or HttpOnly > attributes. > > > > > On Mon, Jun 10, 2013 at 2:42 AM, > wrote: >> >> Hi Steve! It turns out that Internet Explorer 6 (ie6), Internet >> Explorer 7 (ie7), and Internet Explorer 8 (ie8) do not support the >> "max-age" parameter (they just ignore it), but all browsers support >> the "expires" parameter as long as the date is formated in GMT time. >> >> >> - chris >> >> >> >> On Jun 10, 2013, at 9:26 AM, Steve Graham >> wrote: >> >>> Max-Age is two years old. >>> >> > I request that webdna accept any attribute we wish to use with >> setcookie, similar to how we use any header with sendmail. >>> >>> >> > On Mon, Jun 10, 2013 at 12:48 AM, John Butler >> wrote: >>> >> >> Now I try "Max-Age" attribute from >> http://tools.ietf.org/html/rfc6265#page-20 but no cookie set so I >> think webdna does not understand Max-Age? >>>> >>>> >> >> On Mon, Jun 10, 2013 at 12:05 AM, Steve Graham >> wrote: >> >> I cannot because the cookie expire date must be 90 days future so I >> tried this which makes "Thursday, 04-Jan-2001 00:02:39": >>>> >> >> [format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] >> [time] GMT >>> >> > I just looked through some code I work .. and found these that all >> work. We used to be on webdna 6.0, and are now on 7.1. I am pretty >> sure these example all worked on both: >> > I know cookies have been fussy for people... play with it. Also >> check the archives.. old and new.. there is a lot of old posts about >> issues, workarounds, etc. >>> >> > If 'Max-Age' is new, then I suspect there is a good chance webdna >> would not understand it.. since webdna has not had a ton of new >> development in recent years... short of just keeping it running on >> modern hardware. >>> >>> >> > [setcookie name=trackyyyyy_date&value=[date]&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+{00/01/0000}[/math][/format] >> [time][!]---[math time]{[time]}[!]---+{04:00:00}---[/!][/math]---[/!] >> GMT&path=/&domain=yyyyy.com] >>> >> > [setcookie >> name=LastTime_yyyyy_Modified&value=[URL][yyyyy][/URL]&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+1095[/math][/format] [math >> time]{[time]}+{05:00:00}[/math] GMT&path=/] >>> >> > [setcookie name=wwww-[eeee]-[qqq]&value=done&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+30[/math][/format] [math >> time]{[time]}+{05:00:00}[/math] GMT&path=/] >>> >>> -G >>> >>> >>>> >>>> >>>> >>>> >>>> >> >> On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain >> wrote: >>>> Just use the normal [DATE] formatting: >>>> >>>> [DATE %A, %d-%b-%Y] >>>> >>>> >>>> >>>> Regards >>>> >>>> Stuart Tremain >>>> IDFK Web Developments >>>> AUSTRALIA >>>> webdna@idfk.com.au >>>> >>>> >>>> >>>> >> >> On 10/06/2013, at 2:37 PM, Steve Graham >> wrote: >>>> >> >> > How to format an expire date for a cookie in 6.2.1 beta? Can you >> suggest a workaround for normal syntax until bug is fixed? >>> >> > --------------------------------------------------------- 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 >>> >> > --------------------------------------------------------- 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 >> >> --------------------------------------------------------- >> 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 > > --------------------------------------------------------- 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 ------=_SW_291620240_1370965173_mpa= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Steve,
Late to this...
Did you get your answer? I am not aware of = any bug in setcookie using the expires param.
I wanted to mention also t= hat I agree with you. The secure and httponly params have been on our featur= e-add list since April 2009, but priorities have made it so they haven't bee= n implemented as of yet. These *will* get added at some point, hopefully in = the near future.

Sincerely,
Donovan


 
 
On Monday 10/06/2013 = at 7:32 am, Steve Graham wrote:
I did = not know about browser non-compliance with Max-Age so it seems not a solutio= n for IE. Also webdna does not accept Secure or HttpOnly attributes.
=


On Mon, Jun 10= , 2013 at 2:42 AM, <christophe.billiottet@webdna.us> wrote:=
Hi Steve! It turns out that Internet Explo= rer 6 (ie6), Internet Explorer 7 (ie7), and Internet Explorer 8 (ie8) do not= support the "max-age" parameter (they just ignore it), but all browsers sup= port the "expires" parameter as long as the date is formated in GMT time.

- chris


On Jun 10, 2013, at 9:26 = AM, Steve Graham <skgrahamjr@gmail.com> wrote:

> Max-Age is two years old.=
>
> I request that webdna accept any attribute we wish to use w= ith setcookie, similar to how we use any header with sendmail.
>
&g= t;
> On Mon, Jun 10, 2013 at 12:48 AM, John Butler <govinda.webdnatalk@gmail.= com> wrote:
>
>> Now I try "Max-Age" attribute from http:= //tools.ietf.org/html/rfc6265#page-20 but no cookie set so I think webdn= a does not understand Max-Age?
>>
>>
>> On Mon, J= un 10, 2013 at 12:05 AM, Steve Graham <skgrahamjr@gmail.com> wrote:
>> I ca= nnot because the cookie expire date must be 90 days future so I tried this w= hich makes "Thursday, 04-Jan-2001 00:02:39":
>>
>> [format= days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] [time] GMT
&= gt;
> I just looked through some code I work .. and found these that a= ll work.  We used to be on webdna 6.0, and are now on 7.1.  I am p= retty sure these example all worked on both:
> I know cookies have bee= n fussy for people... play with it.  Also check the archives.. old and = new.. there is a lot of old posts about issues, workarounds, etc.
>> If 'Max-Age' is new, then I suspect there is a good chance webdna woul= d not understand it.. since webdna has not had a ton of new development in r= ecent years... short of just keeping it running on modern hardware.
><= br>>
> [setcookie name=3dtrackyyyyy_date&value=3d[date]&exp= ires=3d[format days_to_date %A, %d-%b-%Y][math]{[date]}+{00/01/0000}[/math][= /format] [time][!]---[math time]{[time]}[!]---+{04:00:00}---[/!][/math]---[/= !] GMT&path=3d/&domain=3dyyyyy.com]
>
> [setcookie name=3dLastTime_yyyyy_Modified= &value=3d[URL][yyyyy][/URL]&expires=3d[format days_to_date %A, %d-%b= -%Y][math]{[date]}+1095[/math][/format] [math time]{[time]}+{05:00:00}[/math= ] GMT&path=3d/]
>
> [setcookie name=3dwwww-[eeee]-[qqq]&= value=3ddone&expires=3d[format days_to_date %A, %d-%b-%Y][math]{[date]}+= 30[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&path=3d/]>
> -G
>
>
>>
>>
>>
>= ;>
>>
>> On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremai= n <webdna@idfk.co= m.au> wrote:
>> Just use the normal [DATE] formatting:
&g= t;>
>> [DATE %A, %d-%b-%Y]
>>
>>
>>>> Regards
>>
>> Stuart Tremain
>> IDFK W= eb Developments
>> AUSTRALIA
>> webdna@idfk.com.au
>>
>>= ;
>>
>>
>> On 10/06/2013, at 2:37 PM, Steve Graha= m <skgrahamjr@g= mail.com> wrote:
>>
>> > How to format an expire= date for a cookie in 6.2.1 beta?  Can you suggest a workaround for nor= mal syntax until bug is fixed?
>
> -----------------------------= ---------------------------- This message is sent to you because you are sub= scribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail= .webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
>
> --------= ------------------------------------------------- This message is sent to yo= u 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
---------------------------------------------------------
This message i= s 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>

---------------------= ------------------------------------ This message is sent to you because you= are subscribed to the mailing list <talk@webdna.us>. To unsubscribe, = E-mail to: <talk-leave@webdna.us>archives: http://mail.webdna.us/list/ta= lk@webdna.us Bug Reporting: support@webdna.us
------=_SW_291620240_1370965173_mpa=-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Help with work-around format date: SOLVED (Steve Graham 2013)
  2. Re: [WebDNA] Help with work-around format date (Donovan Brooke 2013)
  3. Re: [WebDNA] Help with work-around format date (John Butler 2013)
  4. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  5. Re: [WebDNA] Help with work-around format date (Donovan Brooke 2013)
  6. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  7. Re: [WebDNA] Help with work-around format date (christophe.billiottet@webdna.us 2013)
  8. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  9. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  10. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  11. Re: [WebDNA] Help with work-around format date (John Butler 2013)
  12. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  13. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  14. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  15. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  16. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  17. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  18. [WebDNA] Help with work-around format date (Steve Graham 2013)
This is a multi-part message in MIME format. ------=_SW_291620240_1370965173_mpa= Content-Type: text/plain; charset=us-ascii; format=flowed Hi Steve, Late to this... Did you get your answer? I am not aware of any bug in setcookie using the expires param. I wanted to mention also that I agree with you. The secure and httponly params have been on our feature-add list since April 2009, but priorities have made it so they haven't been implemented as of yet. These *will* get added at some point, hopefully in the near future. Sincerely, Donovan On Monday 10/06/2013 at 7:32 am, Steve Graham wrote: > > I did not know about browser non-compliance with Max-Age so it seems > not a solution for IE. Also webdna does not accept Secure or HttpOnly > attributes. > > > > > On Mon, Jun 10, 2013 at 2:42 AM, > wrote: >> >> Hi Steve! It turns out that Internet Explorer 6 (ie6), Internet >> Explorer 7 (ie7), and Internet Explorer 8 (ie8) do not support the >> "max-age" parameter (they just ignore it), but all browsers support >> the "expires" parameter as long as the date is formated in GMT time. >> >> >> - chris >> >> >> >> On Jun 10, 2013, at 9:26 AM, Steve Graham >> wrote: >> >>> Max-Age is two years old. >>> >> > I request that webdna accept any attribute we wish to use with >> setcookie, similar to how we use any header with sendmail. >>> >>> >> > On Mon, Jun 10, 2013 at 12:48 AM, John Butler >> wrote: >>> >> >> Now I try "Max-Age" attribute from >> http://tools.ietf.org/html/rfc6265#page-20 but no cookie set so I >> think webdna does not understand Max-Age? >>>> >>>> >> >> On Mon, Jun 10, 2013 at 12:05 AM, Steve Graham >> wrote: >> >> I cannot because the cookie expire date must be 90 days future so I >> tried this which makes "Thursday, 04-Jan-2001 00:02:39": >>>> >> >> [format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] >> [time] GMT >>> >> > I just looked through some code I work .. and found these that all >> work. We used to be on webdna 6.0, and are now on 7.1. I am pretty >> sure these example all worked on both: >> > I know cookies have been fussy for people... play with it. Also >> check the archives.. old and new.. there is a lot of old posts about >> issues, workarounds, etc. >>> >> > If 'Max-Age' is new, then I suspect there is a good chance webdna >> would not understand it.. since webdna has not had a ton of new >> development in recent years... short of just keeping it running on >> modern hardware. >>> >>> >> > [setcookie name=trackyyyyy_date&value=[date]&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+{00/01/0000}[/math][/format] >> [time][!]---[math time]{[time]}[!]---+{04:00:00}---[/!][/math]---[/!] >> GMT&path=/&domain=yyyyy.com] >>> >> > [setcookie >> name=LastTime_yyyyy_Modified&value=[url][yyyyy][/URL]&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+1095[/math][/format] [math >> time]{[time]}+{05:00:00}[/math] GMT&path=/] >>> >> > [setcookie name=wwww-[eeee]-[qqq]&value=done&expires=[format >> days_to_date %A, %d-%b-%Y][math]{[date]}+30[/math][/format] [math >> time]{[time]}+{05:00:00}[/math] GMT&path=/] >>> >>> -G >>> >>> >>>> >>>> >>>> >>>> >>>> >> >> On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain >> wrote: >>>> Just use the normal [date] formatting: >>>> >>>> [DATE %A, %d-%b-%Y] >>>> >>>> >>>> >>>> Regards >>>> >>>> Stuart Tremain >>>> IDFK Web Developments >>>> AUSTRALIA >>>> webdna@idfk.com.au >>>> >>>> >>>> >>>> >> >> On 10/06/2013, at 2:37 PM, Steve Graham >> wrote: >>>> >> >> > How to format an expire date for a cookie in 6.2.1 beta? Can you >> suggest a workaround for normal syntax until bug is fixed? >>> >> > --------------------------------------------------------- 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 >>> >> > --------------------------------------------------------- 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 >> >> --------------------------------------------------------- >> 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 > > --------------------------------------------------------- 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 ------=_SW_291620240_1370965173_mpa= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Steve,
Late to this...
Did you get your answer? I am not aware of = any bug in setcookie using the expires param.
I wanted to mention also t= hat I agree with you. The secure and httponly params have been on our featur= e-add list since April 2009, but priorities have made it so they haven't bee= n implemented as of yet. These *will* get added at some point, hopefully in = the near future.

Sincerely,
Donovan


 
 
On Monday 10/06/2013 = at 7:32 am, Steve Graham wrote:
I did = not know about browser non-compliance with Max-Age so it seems not a solutio= n for IE. Also webdna does not accept Secure or HttpOnly attributes.
=


On Mon, Jun 10= , 2013 at 2:42 AM, <christophe.billiottet@webdna.us> wrote:=
Hi Steve! It turns out that Internet Explo= rer 6 (ie6), Internet Explorer 7 (ie7), and Internet Explorer 8 (ie8) do not= support the "max-age" parameter (they just ignore it), but all browsers sup= port the "expires" parameter as long as the date is formated in GMT time.

- chris


On Jun 10, 2013, at 9:26 = AM, Steve Graham <skgrahamjr@gmail.com> wrote:

> Max-Age is two years old.=
>
> I request that webdna accept any attribute we wish to use w= ith setcookie, similar to how we use any header with sendmail.
>
&g= t;
> On Mon, Jun 10, 2013 at 12:48 AM, John Butler <govinda.webdnatalk@gmail.= com> wrote:
>
>> Now I try "Max-Age" attribute from http:= //tools.ietf.org/html/rfc6265#page-20 but no cookie set so I think webdn= a does not understand Max-Age?
>>
>>
>> On Mon, J= un 10, 2013 at 12:05 AM, Steve Graham <skgrahamjr@gmail.com> wrote:
>> I ca= nnot because the cookie expire date must be 90 days future so I tried this w= hich makes "Thursday, 04-Jan-2001 00:02:39":
>>
>> [format= days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] [time] GMT
&= gt;
> I just looked through some code I work .. and found these that a= ll work.  We used to be on webdna 6.0, and are now on 7.1.  I am p= retty sure these example all worked on both:
> I know cookies have bee= n fussy for people... play with it.  Also check the archives.. old and = new.. there is a lot of old posts about issues, workarounds, etc.
>> If 'Max-Age' is new, then I suspect there is a good chance webdna woul= d not understand it.. since webdna has not had a ton of new development in r= ecent years... short of just keeping it running on modern hardware.
><= br>>
> [setcookie name=3dtrackyyyyy_date&value=3d[date]&exp= ires=3d[format days_to_date %A, %d-%b-%Y][math]{[date]}+{00/01/0000}[/math][= /format] [time][!]---[math time]{[time]}[!]---+{04:00:00}---[/!][/math]---[/= !] GMT&path=3d/&domain=3dyyyyy.com]
>
> [setcookie name=3dLastTime_yyyyy_Modified= &value=3d[url][yyyyy][/URL]&expires=3d[format days_to_date %A, %d-%b= -%Y][math]{[date]}+1095[/math][/format] [math time]{[time]}+{05:00:00}[/math= ] GMT&path=3d/]
>
> [setcookie name=3dwwww-[eeee]-[qqq]&= value=3ddone&expires=3d[format days_to_date %A, %d-%b-%Y][math]{[date]}+= 30[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&path=3d/]>
> -G
>
>
>>
>>
>>
>= ;>
>>
>> On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremai= n <webdna@idfk.co= m.au> wrote:
>> Just use the normal [date] formatting:
&g= t;>
>> [DATE %A, %d-%b-%Y]
>>
>>
>>>> Regards
>>
>> Stuart Tremain
>> IDFK W= eb Developments
>> AUSTRALIA
>> webdna@idfk.com.au
>>
>>= ;
>>
>>
>> On 10/06/2013, at 2:37 PM, Steve Graha= m <skgrahamjr@g= mail.com> wrote:
>>
>> > How to format an expire= date for a cookie in 6.2.1 beta?  Can you suggest a workaround for nor= mal syntax until bug is fixed?
>
> -----------------------------= ---------------------------- This message is sent to you because you are sub= scribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail= .webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
>
> --------= ------------------------------------------------- This message is sent to yo= u 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
---------------------------------------------------------
This message i= s 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>

---------------------= ------------------------------------ This message is sent to you because you= are subscribed to the mailing list <talk@webdna.us>. To unsubscribe, = E-mail to: <talk-leave@webdna.us>archives: http://mail.webdna.us/list/ta= lk@webdna.us Bug Reporting: support@webdna.us
------=_SW_291620240_1370965173_mpa=-- Donovan Brooke

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:

Help formatting search results w/ table (1997) Looking up two prices in database? (1997) [BULK] [WebDNA] test (2011) WebCat2: Formulas.db question (1997) Bad Cookie / Internet Option / Internet Explorer (2004) 2.0 Info (1997) WebCat2 - [include] tags (1997) Which beta for w* 4.1 and a problem w/b12 (1999) Generating Report Totals (1997) Just Testing (1997) flushdatabases (1997) default error on NT? (1997) Generating Options for a Form. (1997) Cancel Subscription (1996) Automated FTP from Shell (2004) shownext & math (1997) Re:quit command on NT (1997) [OT] Theiving B*****ds (2004) E-mailer error codes (1997) Hiding the URL(was Cart ID Duplication) (2001)