Re: [WebDNA] why is this cookie being set to expire at end of browser
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103831
interpreted = N
texte = Govinda wrote:> [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=/]> > I swear just a couple hours ago I had it working (same code!) to expire > on a specific date.. but now the cookie is being set as a session > cookie as if I was not including the expires param.> > Anyone see/have a clue what is going on?> > ------------> Govinda> govinda.webdnatalk@gmail.comSomething changed?Did you delete a domain param?.. change a path param?Though I don't know if this will help...Try escaping the value...from RFC2109:'The VALUE is opaque to the user agent and may be anything the origin server chooses to send, possibly in a server-selected printable ASCII encoding'If you can't figure it out, I'd suggest passing along more info..Along with browser/WebDNA edition/version.. open up your cookie management pref in your browser and post the values of the oldcookie (name,value,domain,path,expires,etc..) that is not beingoverwritten and not being expired.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
Govinda wrote:> [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=/]> > I swear just a couple hours ago I had it working (same code!) to expire > on a specific date.. but now the cookie is being set as a session > cookie as if I was not including the expires param.> > Anyone see/have a clue what is going on?> > ------------> Govinda> govinda.webdnatalk@gmail.comSomething changed?Did you delete a domain param?.. change a path param?Though I don't know if this will help...Try escaping the value...from RFC2109:'The VALUE is opaque to the user agent and may be anything the origin server chooses to send, possibly in a server-selected printable ASCII encoding'If you can't figure it out, I'd suggest passing along more info..Along with browser/WebDNA edition/version.. open up your cookie management pref in your browser and post the values of the oldcookie (name,value,domain,path,expires,etc..) that is not beingoverwritten and not being expired.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
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:
Multiple Search Fields (1998)
Does TCPconnect/TCPsend do multiples? (2000)
Problems with AOHell (1999)
Merging databases (1997)
webcat and webkitty votes needed (1997)
Purchased cart being overwritten - still !?? (1997)
Running 2 two WebCatalog.acgi's (1996)
[OT] What System Software? (2003)
Migrating to NT (1997)
emailer (1997)
[WebDNA] StoreBuilder 3.0 (2014)
textarea to page display (1998)
TeaRoom demo behavior modification questions (1999)
Configuring E-mail (1997)
where to put code (1998)
RE: Displaying Location (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebCat chatroom/hyperboard (1997)
Help name our technology! (1997)
controlling user input (1998)