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:

    
  1. Re: [WebDNA] duplicate cookies being stored in browser (Kenneth Grome 2010)
  2. Re: [WebDNA] duplicate cookies being stored in browser (Steve Raslevich 2010)
  3. Re: [WebDNA] duplicate cookies being stored in browser (Kenneth Grome 2010)
  4. Re: [WebDNA] duplicate cookies being stored in browser (Steve Raslevich 2010)
  5. Re: [WebDNA] duplicate cookies being stored in browser (Kenneth Grome 2010)
  6. RE: [WebDNA] duplicate cookies being stored in browser ("Olin Lagon" 2010)
  7. Re: [WebDNA] duplicate cookies being stored in browser (Govinda 2010)
  8. Re: [WebDNA] duplicate cookies being stored in browser (Kenneth Grome 2010)
  9. Re: [WebDNA] duplicate cookies being stored in browser (Kenneth Grome 2010)
  10. [WebDNA] duplicate cookies being stored in browser (Steve Raslevich 2010)
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:

WebCatalog and WebMerchant reviewed by InfoWorld (1997) Running 2 two WebCatalog.acgi's (1996) multi-paragraph fields (1997) problems with 2 tags (1997) Problem with a search context (2005) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Template Cache problem (2000) lookups (2000) problems with 2 tags shakur (1997) WebCatalog 2.0 b 15 mac (1997) Can WebCatalog.debug solve my problem? (2000) Writefile, Raw & include (2002) Nested tags count question (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) combine search (1998) For those of you not on the WebCatalog Beta... (1997) WebCatalog on Mac OSX with iTools (2000) Bug with periods in [math] variable names (2001) [INCLUDE] Limitations (1998) vs (1997)