Re: Deleting Cookie Problems

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68621
interpreted = N
texte = Very helpful, thank you. on 3/4/07 11:35 AM, Donovan Brooke at dbrooke@euca.us wrote: > Eddie Z wrote: >> So if the cookie names are identical but use different URLs (same domain >> name but one with www. and one without) then I have a problem then? > > > Hey Eddie, > Kinda, there are security measures. > > if you started off with www.domain.com you are setting > a limitation... so clients accessing the site with "domain.com" > will not be able to access the www.domain.com cookie. > > Setcookie docs spell it out pretty well: > > http://webdna.smithmicro.com/ref/pages.html?context=AllTags.html#SetCookie > > The only way/s to "log out" of www.domain.com when > using domain.com would be to utilize a {redirect-to-url-www.domain.com -> > setcookietohistory --> > then redirect-to-url-domain.com}... > > The way to accommodate users from both domains is to not > originally put a limitation on the domain host. Both > www.domain.com and domain.com can access a cookie where > it was set with an original domain of "domain.com". > > In your situation, I think you would have to do some > error code that, when a client can't log out when accessing > the site via "domain.com", you would redirect them to www.domain.com, > set that cookie to history, then redirect them back. Eventually > everones www.domain.com cookies would be deleted that way. > > I did a little test page that simplifies cookie behavior that may > help you.. > > You can look in your cookie manager while using the page to > see proof of what is happening..: > > http://euca.us/admin/tests/cookieset.html?flag=T > > - Donovan > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Deleting Cookie Problems ( Eddie Z 2007)
  2. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  3. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  4. Re: Deleting Cookie Problems ( Eddie Z 2007)
  5. Re: Deleting Cookie Problems ( Donovan Brooke 2007)
  6. Re: Deleting Cookie Problems ( Eddie Z 2007)
  7. Re: Deleting Cookie Problems ( Chris 2007)
  8. Deleting Cookie Problems ( Eddie Z 2007)
Very helpful, thank you. on 3/4/07 11:35 AM, Donovan Brooke at dbrooke@euca.us wrote: > Eddie Z wrote: >> So if the cookie names are identical but use different URLs (same domain >> name but one with www. and one without) then I have a problem then? > > > Hey Eddie, > Kinda, there are security measures. > > if you started off with www.domain.com you are setting > a limitation... so clients accessing the site with "domain.com" > will not be able to access the www.domain.com cookie. > > Setcookie docs spell it out pretty well: > > http://webdna.smithmicro.com/ref/pages.html?context=AllTags.html#SetCookie > > The only way/s to "log out" of www.domain.com when > using domain.com would be to utilize a {redirect-to-url-www.domain.com -> > setcookietohistory --> > then redirect-to-url-domain.com}... > > The way to accommodate users from both domains is to not > originally put a limitation on the domain host. Both > www.domain.com and domain.com can access a cookie where > it was set with an original domain of "domain.com". > > In your situation, I think you would have to do some > error code that, when a client can't log out when accessing > the site via "domain.com", you would redirect them to www.domain.com, > set that cookie to history, then redirect them back. Eventually > everones www.domain.com cookies would be deleted that way. > > I did a little test page that simplifies cookie behavior that may > help you.. > > You can look in your cookie manager while using the page to > see proof of what is happening..: > > http://euca.us/admin/tests/cookieset.html?flag=T > > - Donovan > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Eddie Z

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:

Protect (1997) member logins database (2003) Payment Processors (2005) File Security (1999) FEW QUESTIONS (1997) [WebDNA] Installing WebDNA 7 on OSX Mavericks Server - Instructions (2014) upgrade? (1997) WebCatalog2 Feature Feedback (1996) Did you hear about this? (1997) Cannot calculate prices (1997) First n words (2000) Resume Catalog ? (1997) OT: bulletin board spell check (2001) Dynamic Pop up menu? (1997) Limitations on fields? Server is crashing (1997) Request for help on a new *automated* WebCatalog function ... (1998) emailer stuck (1997) international time (1997) retail integration (2000) Job Posting (1998)