Re: [WebDNA] duplicate cookies being stored in browser

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105877
interpreted = N
texte = This is a multi-part message in MIME format. --------------090403080908080606020307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Olin, I did check the paths. All cookies are being set at the root level. I experimented with cookies at different paths a while back and as you mention, was kind of tricky. Thanks for your reply. -Steve Olin Lagon wrote: > > 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 > > -- > Steve Raslevich > President/CEO > Northern Sound & Light, Inc. > 11 Shingiss Street > McKees Rocks, Pennsylvania 15136 > > Phone: (412) 331-1000 > Fax: (412) 331-1035 > > http://www.northernsound.net > > ------------------------------------------------------------------- > This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. > > If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000. > ------------------------------------------------------------------- -- Steve Raslevich President/CEO Northern Sound & Light, Inc. 11 Shingiss Street McKees Rocks, Pennsylvania 15136 Phone: (412) 331-1000 Fax: (412) 331-1035 http://www.northernsound.net ------------------------------------------------------------------- This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000. ------------------------------------------------------------------- --------------090403080908080606020307 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Olin,

I did check the paths. All cookies are being set at the root level. I experimented with cookies at different paths a while back and as you mention, was kind of tricky.

Thanks for your reply.
-Steve

Olin Lagon wrote:

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

-- 
Steve Raslevich
President/CEO
Northern Sound & Light, Inc.
11 Shingiss Street
McKees Rocks, Pennsylvania 15136
 
Phone: (412) 331-1000
Fax: (412) 331-1035
 
http://www.northernsound.net
 
-------------------------------------------------------------------
This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. 
 
If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000.
-------------------------------------------------------------------

-- Steve RaslevichPresident/CEONorthern Sound & Light, Inc.11 Shingiss StreetMcKees Rocks, Pennsylvania 15136Phone: (412) 331-1000Fax: (412) 331-1035http://www.northernsound.net-------------------------------------------------------------------This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000.-------------------------------------------------------------------
--------------090403080908080606020307-- 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)
This is a multi-part message in MIME format. --------------090403080908080606020307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Olin, I did check the paths. All cookies are being set at the root level. I experimented with cookies at different paths a while back and as you mention, was kind of tricky. Thanks for your reply. -Steve Olin Lagon wrote: > > 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 > > -- > Steve Raslevich > President/CEO > Northern Sound & Light, Inc. > 11 Shingiss Street > McKees Rocks, Pennsylvania 15136 > > Phone: (412) 331-1000 > Fax: (412) 331-1035 > > http://www.northernsound.net > > ------------------------------------------------------------------- > This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. > > If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000. > ------------------------------------------------------------------- -- Steve Raslevich President/CEO Northern Sound & Light, Inc. 11 Shingiss Street McKees Rocks, Pennsylvania 15136 Phone: (412) 331-1000 Fax: (412) 331-1035 http://www.northernsound.net ------------------------------------------------------------------- This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000. ------------------------------------------------------------------- --------------090403080908080606020307 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Olin,

I did check the paths. All cookies are being set at the root level. I experimented with cookies at different paths a while back and as you mention, was kind of tricky.

Thanks for your reply.
-Steve

Olin Lagon wrote:

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

-- 
Steve Raslevich
President/CEO
Northern Sound & Light, Inc.
11 Shingiss Street
McKees Rocks, Pennsylvania 15136
 
Phone: (412) 331-1000
Fax: (412) 331-1035
 
http://www.northernsound.net
 
-------------------------------------------------------------------
This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. 
 
If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000.
-------------------------------------------------------------------

-- Steve RaslevichPresident/CEONorthern Sound & Light, Inc.11 Shingiss StreetMcKees Rocks, Pennsylvania 15136Phone: (412) 331-1000Fax: (412) 331-1035http://www.northernsound.net-------------------------------------------------------------------This Email and any files transmitted with it contain confidential, non-public information intended solely for the use of the individual to whom or the entity to which they are addressed. Unauthorized use, reproduction, distribution or communication of this message or any information contained or attached to this message is strictly prohibited and may be unlawful. If you have received this email in error please notify the sender immediately by e-mail or contact Northern Sound & Light at frontdesk@northernsound.net or (412) 331-1000.-------------------------------------------------------------------
--------------090403080908080606020307-- Steve Raslevich

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:

Search/sort in URL Was: GuestBook example (1997) carriage returns in data (1997) dollar $ signs in database (2000) Unsubscribe me (2001) [format xs] freeze (1997) How reliable is WebDNA? (2004) Shared databases (2003) WebMerchant and AVS (1998) AppleScript error (2003) Protect (1997) problems with 2 tags shakur (1997) Almost a there but..bye bye NetCloak (1997) convertwords BUG (2002) Text variables do not show (1999) WebSTAR 2.1 freezes my Mac (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Tab Charactor (1997) WebCatalog can't find database (1997) Signal Raised Error (Part II) (1997) [HTML*] (a proposition) (1997)