> -----Original Message----- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 10:38 AM > To: CF-Talk > Subject: Re: session variables or multiple pages > > There's not a solution that's both reliable and easy to implement... > Some combinations of windows/IE versions will allow IE to have > multiple instances with different sets of active cookies. The trick is > that the 2nd IE window needs to be spawned from the Launch Bar or the > Desktop instead of File > New > Window or Ctrl+N. The only way CF
This is true of all recent (post 4.x) versions of IE - but the separation only stands true for session (in memory) cookies, not permanent cookies (which are all stored in the same place). > The easiest solution is to use different browsers... If he wants IE > browsers specifically (or if the application only supports them), > there are several IE shell browsers he can install, like MyIE, MyIE2, > Avante Browser and Maxthon. For the most part (I think in all cases actually) those shells don't use their own cookie management - they use IE's directly so you'd have the same issues (session cookie may not be shared, but persistent cookies would be). If it's really only your boss that wants to do this (and this isn't a general user feature) there is a fairly simple (conceptually) solution to this however. Cookies are domain-specific, not server or application specific. Assuming your application doesn't hard code its domain in links or refreshes (like CFLOCATION) (and why would it?) then you can "solve" the problem by adding a second (or a third or a ninth) host header name to the web server. So right now you have "www.thiscoolapp.com". If you added, say, "ww1.thiscoolapp.com" (and, if you need more, "ww2.thiscoolapp.com" and so forth) then you could hit the same app using two different domain names - and each will have its own, completely independent cookies. There may be minor issues with this (especially if you're using the "path" attribute of CFCOOKIE to ignore third-level names) but it should work. We do this for development purposes (as I think most people do): we have dev.app.com, integration.app.com, staging.app.com and www.app.com (in our case these are all on separate boxes but they are the same app). The browser doesn't care about servers or IP Addresses for cookies - just domain names. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:208969 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

