Hey Matt, Hmm, setdomaincookies=YES doesn't seem to help either. Server still creating different instances for www.domain.com and .domain.com.
My use of client variables is actually pretty minor -- I just use a couple to store an integer key to a user table, and an encrypted password. When a user returns to the site, I use those two client.vars to setup session info, tailor output, etc. I suppose I could just use CFCOOKIEs for this and have greater control over how the cookies are set. Re: session variables and CFMX. As I understand them, session variables in CFMX persist only as long as the browser is open, so wouldn't they be ill suited for the use outlined above, that of identifying returning visitors who may have been away for months? I'll check out the link you provided. Thanks, Terry >it is the default behavior. You are supposed to be able to fix this >by adding "setdomaincookies="yes" in /Application.cfm. > >This is one of the server side code gotchas I was alluding to in your >other thread. I have to rely on client vars for practically >*everything* insofar as state info and I just friggin' hate the grief >that goes with client vars in cookies. If you've got MX you can use >session vars and save yourself a TON of grief. > >Have you checked out the CFMX Coding Standards? This page seems pertinent: > >http://livedocs.macromedia.com/wtg/public/coding_standards/structure.html > >-- >--mattRobertson-- >Janitor, MSB Web Systems >mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205999 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

