> I use a fairly simple login on my site, just sets a session. > > The problem is that if you login with no prefix on the site > it logs you out everytime you switch pages. These are on both > linux and windows boxes and I cant find a decent answer. > > If you are lost on what I am saying look at the urls below: > mysite.com - does not work correctly, logs out on every page > change or reload www.mysite.com - works correctly > > anyone have any ideas?
If you're using cookies to manage your login, make sure they're available to all hosts within the domain. If you're setting them yourself, use the DOMAIN attribute of CFCOOKIE. If you're using CF session cookies (CFID/CFTOKEN, JSESSIONID), use the SETDOMAINCOOKIES attribute of CFAPPLICATION or the corresponding member variable within Application.cfc. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263098 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

