Re: Deleting Cookie Problems
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68599
interpreted = N
texte = 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 settinga 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#SetCookieThe only way/s to "log out" of www.domain.com whenusing 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 notoriginally put a limitation on the domain host. Bothwww.domain.com and domain.com can access a cookie whereit was set with an original domain of "domain.com".In your situation, I think you would have to do someerror code that, when a client can't log out when accessingthe site via "domain.com", you would redirect them to www.domain.com,set that cookie to history, then redirect them back. Eventuallyeverones www.domain.com cookies would be deleted that way.I did a little test page that simplifies cookie behavior that mayhelp you..You can look in your cookie manager while using the page tosee proof of what is happening..:http://euca.us/admin/tests/cookieset.html?flag=T- Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
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 settinga 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#SetCookieThe only way/s to "log out" of www.domain.com whenusing 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 notoriginally put a limitation on the domain host. Bothwww.domain.com and domain.com can access a cookie whereit was set with an original domain of "domain.com".In your situation, I think you would have to do someerror code that, when a client can't log out when accessingthe site via "domain.com", you would redirect them to www.domain.com,set that cookie to history, then redirect them back. Eventuallyeverones www.domain.com cookies would be deleted that way.I did a little test page that simplifies cookie behavior that mayhelp you..You can look in your cookie manager while using the page tosee proof of what is happening..:http://euca.us/admin/tests/cookieset.html?flag=T- Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
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:
5.0 Pricing (2003)
shipping & multiple comparisons? (2000)
Falsifying [BROWSERNAME] (1998)
[referrer] tag (1997)
Can't use old cart file (was One more try) (1997)
Help with Shipping Costs (1997)
How do you hide [math]stuff[/math] (1997)
Showing unopened cart (1997)
WCS Newbie question (1997)
[WebDNA] High-profile WebDNA sites? (2008)
[WebDNA] Innovative Merchant Solutions (2008)
Summary search -- speed (1997)
Major problem SOLVED! (1999)
Progress !! WAS: Trouble with formula.db (1997)
Which is Faster (1998)
E-mailer error codes (1997)
Creating folders and deleting files (1997)
2.0.1: Shopping Carts deleted after 1 hour (1997)
[OT] *nix - change names- (2006)
Sorting ip addresses (2002)