Re: [WebDNA] duplicate cookies being stored in browser
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105876
interpreted = N
texte = Olin, if I'm not mistaken I've seen the behavior Steve is reporting even when I do not set a path. If this is happening only in Firefox it may be that Firefox is associating each new cookie with a specific path even though that path is not specified in webdna's setcookie tag. Sincerely,Kenneth Grome> Can you post code? If set cookies with different paths then cookies> with the same name are valid for the same domain, which will make> reading cookies tricky (I remember a problem with that years ago> that I had to solve by iterating through the cookies).>>>> From: Steve Raslevich [mailto:sraslevich@northernsoundandlight.com]> Sent: Friday, October 15, 2010 6:26 AM> To: WebDNA Talk List> Subject: [WebDNA] duplicate cookies being stored in browser>>>> Hi all,>> I am setting cookies with no expiration date which should expire at> the end of the session. These cookies are cleared when logging out> of my site and the browser (firefox) is keeping them in it's list> of cookies with null values. I am experiencing at times that when> logging back in to my site that instead of setting the cookies> already stored in the browser, duplicate cookies are being added to> the list of cookies in the browser. All the cookies are only> removed when the browser is shut down.>> Any idea why the existing cookies would not just have their values> reset instead of an entire new cookie being created? Is the only> way to fix this is to specify an expiration date when setting the> cookie?>> Thanks,> Steve
Associated Messages, from the most recent to the oldest:
Olin, if I'm not mistaken I've seen the behavior Steve is reporting even when I do not set a path. If this is happening only in Firefox it may be that Firefox is associating each new cookie with a specific path even though that path is not specified in webdna's setcookie tag. Sincerely,Kenneth Grome> Can you post code? If set cookies with different paths then cookies> with the same name are valid for the same domain, which will make> reading cookies tricky (I remember a problem with that years ago> that I had to solve by iterating through the cookies).>>>> From: Steve Raslevich [mailto:sraslevich@northernsoundandlight.com]> Sent: Friday, October 15, 2010 6:26 AM> To: WebDNA
Talk List> Subject: [WebDNA] duplicate cookies being stored in browser>>>> Hi all,>> I am setting cookies with no expiration date which should expire at> the end of the session. These cookies are cleared when logging out> of my site and the browser (firefox) is keeping them in it's list> of cookies with null values. I am experiencing at times that when> logging back in to my site that instead of setting the cookies> already stored in the browser, duplicate cookies are being added to> the list of cookies in the browser. All the cookies are only> removed when the browser is shut down.>> Any idea why the existing cookies would not just have their values> reset instead of an entire new cookie being created? Is the only> way to fix this is to specify an expiration date when setting the> cookie?>> Thanks,> Steve
Kenneth Grome
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:
[WebDNA] Searching using variable or numeric number (2019)
Round up prices (2000)
WebCatalog for guestbook ? (1997)
pull downs (1997)
WebCat2: Items xx to xx shown, etc. (1997)
The beginning (1997)
WebCatalog v2.1.1 (1998)
Questions on Mac WC 3.0.5b13 (2000)
Close Databases Crash? (1998)
Re2: frames & carts (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Where is f2? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
A Current Feature or Futre Concept (1998)
Emailer and encryption (1997)
web delivery (1997)
Template Security error (1997)
2.0 Info (1997)
Cart sweeper (2000)
Comments in db? (1997)