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 = 103849
interpreted = N
texte = > Govinda wrote:> [snip]>> 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)> [/snip]>> Did you try it without the WYSIWYG include?.. could be a bug resulting> from including from that form of syntax??>> DonovanDonovan, you nailed it. Finally. Thank you!I actually thought of this at one point.. but then forgot again before I had looked into it.Anyway, once I hard coded the (way future) date into the [setcookie expires.. ] param then it works fine. So (based on my previous experience with that wysiwyg-syntax bug) I assume the [math] context is what was killing it, or more likely the [format] context. Rather than get creative now, for a dynamic workaround, I just set the date (hard-coded) to far in the future. (So I have not even tried the same code on a purely classic-syntax page.. I am sure it works fine there.)------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
> Govinda wrote:> [snip]>> 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)> [/snip]>> Did you try it without the WYSIWYG include?.. could be a bug resulting> from including from that form of syntax??>> DonovanDonovan, you nailed it. Finally. Thank you!I actually thought of this at one point.. but then forgot again before I had looked into it.Anyway, once I hard coded the (way future) date into the [setcookie expires.. ] param then it works fine. So (based on my previous experience with that wysiwyg-syntax bug) I assume the
[math] context is what was killing it, or more likely the
[format] context. Rather than get creative now, for a dynamic workaround, I just set the date (hard-coded) to far in the future. (So I have not even tried the same code on a purely classic-syntax page.. I am sure it works fine there.)------------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:
Summing fields (1997)
Mozilla/4. and Browser Info.txt (1997)
Am I going senile? (Price recalc based on quantity) (1997)
Emailer setup (1997)
Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (2003)
[ShowCart] and GET vs. POST (1997)
[isfile] ? (1997)
shell question (2004)
[WebDNA] 2nd pair of eyes on redirect please (2011)
[movefile] create stationery files (1998)
Postprocessing CCs (2000)
[OT] Strange bounced message (2000)
WebCat2 - [format thousands] (1997)
Authenticate (1997)
no [search] with NT (1997)
make updates in a temporary database (2004)
WCS Newbie question (1997)
Pipes instead of tabs (1998)
creating an email message (1998)
View order not right (1997)