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:
Re2: frames & carts (1997)
Trouble with carts (2000)
unable to launch acgi in WebCat (1997)
Chat (2000)
[WebDNA] [announce] WebDNA Site and Store (2008)
Needed, Freelance Web Developer (2007)
[SMSI] WebDNA is too good to go away! (2006)
Most Efficiant Way to do restricted Areas (1997)
Bugs? What Bugs? was:Spawning Holdup? (2000)
RequiredFields template (1997)
[SearchString] (1998)
WebCat2 - storing unformatted date data? (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
XML WebDNA (2006)
More Applescript (1997)
REPOST... Incompatibility with WebCat 3 templates ... (2000)
Re:Help name our technology! (1997)
WC 2.0 frames feature (1997)
WebTen? (1997)
Nav. 4 probs with cart (1997)