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:
Help Please WebDNA 6 Secure Forms Problem (2004)
searching for last file... WebCat solutions (1999)
[WebDNA] [WSC] WebDNA Development Summit (2014)
changing prices in cart (1997)
Chatroom (2000)
[OT] 'Email this story to a friend' (2003)
math a various prices (1997)
HELP WITH DATES (1997)
Inventory Adjustment (2000)
serial number generation (1997)
Emailer choke (1997)
setlineitem - price (2003)
pulling URL information (2003)
WebCat2b12--[searchstring] bug (1997)
We are searching (2005)
WebCat2b13MacPlugIn - More limits on [include] (1997)
PIXO support (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
# fields limited? (1997)
MasterCounter and capitalization (1997)