Now I try "Max-Age" attribute from= h=ttp://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 <skgrahamjr@gmail.com>=span> wrote:I cannot because the cookie expire date must be 90 days future so I tr=ied this which makes "Thursday, 04-Jan-2001 00:02:39":
[format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] [ti=me] GMTI just looked through some code I work .. and found these that =all work. =A0We used to be on webdna 6.0, and are now on 7.1. =A0I am prett=y sure these example all worked on both:I know cookies have been fussy for people... play with it. =A0Also che=ck the archives.. old and new.. there is a lot of old posts about issues, w=orkarounds, etc.If 'Max-Age' is new, then= I suspect there is a good chance webdna would not understand it.. since we=bdna has not had a ton of new development in recent years... short of just =keeping it running on modern hardware.=A0[setcookie name=3Dtrackyyyyy_date&va=lue=3D[date]&expires=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]{[d=ate]}+1095[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&pa=th=3D/][setcookie name=3Dwwww-[eeee]-[qqq]&value=3Ddone&am=p;expires=3D[format days_to_date %A, %d-%b-%Y][math]{[date]}+30[/math][/for=mat] [math time]{[time]}+{05:00:00}[/math] GMT&path=3D/]
=-GOn Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain <web=dna@idfk.com.au> wrote:Just use the no=rmal [DATE] formatting:
[DATE %A, %d-%b-%Y]
Regards
Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au<=/a>
On 10/06/2013, at 2:37 PM, Steve Graham <skgrahamjr@gmail.com> wrote:
> How to format an expire date for a cookie in 6.2.1 beta? =A0Can you su=ggest a workaround for normal syntax until bug is fixed?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
Now I try "Max-Age" attribute from= h=ttp://tools.ietf.org/html/rfc6265#page-20 but no cookie set so I think =webdna does not understand Max-Age?I just looked through some code I work .. and found these that =all work. =A0We used to be on webdna 6.0, and are now on 7.1. =A0I am prett=y sure these example all worked on both:I know cookies have been fussy for people... play with it. =A0Also che=ck the archives.. old and new.. there is a lot of old posts about issues, w=orkarounds, etc.If 'Max-Age' is new, then= I suspect there is a good chance webdna would not understand it.. since we=bdna has not had a ton of new development in recent years... short of just =keeping it running on modern hardware.=A0[setcookie name=3Dtrackyyyyy_date&va=lue=3D[date]&expires=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]{[d=ate]}+1095[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&pa=th=3D/][setcookie name=3Dwwww-[eeee]-[qqq]&value=3Ddone&am=p;expires=3D[format days_to_date %A, %d-%b-%Y][math]{[date]}+30[/math][/for=mat] [math time]{[time]}+{05:00:00}[/math] GMT&path=3D/]
=-GOn Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain <web=dna@idfk.com.au> wrote:Just use the no=rmal [date] formatting:
[DATE %A, %d-%b-%Y]
Regards
Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au<=/a>
On 10/06/2013, at 2:37 PM, Steve Graham <skgrahamjr@gmail.com> wrote:
> How to format an expire date for a cookie in 6.2.1 beta? =A0Can you su=ggest a workaround for normal syntax until bug is fixed?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
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...