Re: Sessions across subdomains...
And on one fell stroke all my problems are solved... Muchos gracias :) You've saved me a lot of time and effort!! On 26/8/03 21:10, Dave Carabetta [EMAIL PROTECTED] wrote: Heylo Im having issues sharing sessions across subdomains... I (obviously foolishly) thought that if I had a session at the main domain, and then went to a subdomain of that domain I would maintain session, but that doesn¹t seem to be the case (?) I'm using the same cfapplication name in both the main site and the subdomain, but still no... I have a cookie that gets set when ur logged in, is there any way of accessing this at the subdomain? Any thoughts gratefully received :) Do you have the setDomainCookies attribute of the cfapplication tag set to yes? If not explicitly set, it defaults to no, which I suspect might be your problem. Regards, Dave. _ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Sessions across subdomains...
Heylo Im having issues sharing sessions across subdomains... I (obviously foolishly) thought that if I had a session at the main domain, and then went to a subdomain of that domain I would maintain session, but that doesn¹t seem to be the case (?) I'm using the same cfapplication name in both the main site and the subdomain, but still no... I have a cookie that gets set when ur logged in, is there any way of accessing this at the subdomain? Any thoughts gratefully received :) Ryan ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Sessions across subdomains...
Heylo Im having issues sharing sessions across subdomains... I (obviously foolishly) thought that if I had a session at the main domain, and then went to a subdomain of that domain I would maintain session, but that doesn¹t seem to be the case (?) I'm using the same cfapplication name in both the main site and the subdomain, but still no... I have a cookie that gets set when ur logged in, is there any way of accessing this at the subdomain? Any thoughts gratefully received :) Do you have the setDomainCookies attribute of the cfapplication tag set to yes? If not explicitly set, it defaults to no, which I suspect might be your problem. Regards, Dave. _ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Sessions across subdomains...
Try adding 'setdomaincookies' to your cfapplication tag and set it to true. That'll let you share client variables across subdomains, and sessions as well, I believe. You might have to close your browser and clear your cookies to make it work. bareyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:06 AM To: CF-Talk Subject: Sessions across subdomains... Heylo Im having issues sharing sessions across subdomains... I (obviously foolishly) thought that if I had a session at the main domain, and then went to a subdomain of that domain I would maintain session, but that doesn¹t seem to be the case (?) I'm using the same cfapplication name in both the main site and the subdomain, but still no... I have a cookie that gets set when ur logged in, is there any way of accessing this at the subdomain? Any thoughts gratefully received :) Ryan ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm