Re: [WebDNA] why is this cookie being set to expire at end of browser session?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103840
interpreted = N
texte = > Govinda wrote:> [snip]>> all as expected except for the expires value. (??)> [snip]>>> Maybe delete the "[" and "]" characters in the setcookie code,> hit the page, then post the actual values are being set.Donovan thanks for taking your time to even look :-)this code:[setcookie name=lastVisitedProdMenuPage&value=[thisurl]&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}+7[/math][/format] [math time] {[time]}+{00:00:00}[/math] GMT&path=/]sets a cookie which expires "at end of session" instead of after a week (why does it not expire at end of a week),and returns this:more below>> Donovan>> P.S.> I'm confused by your comment about the WYSIWYG stuff, as your> posted code was the classic syntax.. but that> is irrelevant now I guess.see here about the bug I am referring to:http://forum.webdna.us/eucabb.html?page=detail&threadid=883&category=288(my classic style code is included from a WYSIWYG-style syntax page)------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
> Govinda wrote:> [snip]>> all as expected except for the expires value. (??)> [snip]>>> Maybe delete the "[" and "]" characters in the setcookie code,> hit the page, then post the actual values are being set.Donovan thanks for taking your time to even look :-)this code:[setcookie name=lastVisitedProdMenuPage&value=
[thisurl]&expires=[format days_to_date %A, %d-%b-%Y]
[math]{
[date]}+7[/math][/format] [math time] {
[time]}+{00:00:00}[/math] GMT&path=/]sets a cookie which expires "at end of session" instead of after a week (why does it not expire at end of a week),and returns this:more below>> Donovan>> P.S.> I'm confused by your comment about the WYSIWYG stuff, as your> posted code was the classic syntax.. but that> is irrelevant now I guess.see here about the bug I am referring to:http://forum.webdna.us/eucabb.html?page=detail&threadid=883&category=288(my classic style code is included from a WYSIWYG-style syntax page)------------Govindagovinda.webdnatalk@gmail.com
Govinda
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:
TCP Connect (2000)
One other big addition... (1997)
WebDNA 6 (2004)
Ok here is a question? (1997)
[WebDNA] German e-shop company proclaims "In Memory Computing" (2010)
Error Log.db --however (1997)
[/application] error? (1997)
searchable list archive (1997)
Exclude by date - multiple (1997)
Protect (1997)
2.1b3 --> way slow (1997)
Multiple prices (1997)
Help formatting search results w/ table (1997)
[WebDNA] A note about the WebDNA Server 8.0.2 installer and Admin (2015)
Instructions for Digest (1997)
How to append text after the sign & (1997)
WebCatalog stalls (1998)
Re:WebCatalog f2 Installation (1997)
Whats going on with my SERIAL NUMBER??? (1998)
Re:Searching for ALL / empty form field (1997)