I don't know how ColdFusion handles sessions but PHP uses cookies. IF CF does it the same way then you will have a problem as mydomain.com and www.mydomain.com would have separate cookies.
I don't know if it is even possible to do what you want in CF. Maybe check the documentation or the CF forums. --- In [email protected], Ben Densmore <bsdensm...@...> wrote: > > I have an app that I'm having some issues accessing a session variable that > is set in ColdFusion. I think it's due to my services-config.xml file having > the flexgateway url set to have the "www". > > If I'm at www.mydomain.com I can make the remoting call and have the cfc > return the session variable to Flex. If I go to just http://mydomain.com then > I seem to have an issue. > > I created a cross domain policy file to allow with the "www" and without but > because the session variable is set on the domain without the www and then > the remoting call is trying to access the cfc with the "www" the session > variables are being reset. > > I can force the page to always go to www but wanted to see if others have run > into this and the best way to handle it. > > Thanks, > Ben >

