Thanks Sean. We do not refer to CFID/CFTOKEN on our application, we only use JSESSIONID, especially to maintain the session between CFMX/FlashCom.
But are you sure that it does not write CFID/CFTOKEN even if you use J2EE sessions? I just closed all my browsers, deleted all my cookies, re-opened a new browser and on my first CF request, it creates again the persistent CFID/CFTOKEN cookie. It shouldn't? Why when I go to http://www.ourdomain.com/test.cfm and http://subdomain.ourdomain.com/test.cfm : - I got the same value for JSESSIONID for both request. - then I stop surfing, I come back 30 minutes later, then I got a new JSESSIONID for subdomain.ourdomain.com (but I still have the old JSESSIONID for www.ourdomain.com)? The session timeout is set to 60 minutes so it looks like a bug to me, no? Am I the only one to have this "Session is invalid" message? (I did not find it anywhere else on forum or bugs db) Benoit Hediard www.benorama.com > -----Message d'origine----- > De : Sean A Corfield [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 27 juillet 2003 20:41 > À : CF-Talk > Objet : Re: "Session is invalid" on CFMX > > > On Sunday, Jul 27, 2003, at 09:04 US/Pacific, Benoit Hediard wrote: > > When I got the problem, I looked at the cookie values : > > - CFID&CFTOKEN have the same values under www.ourdomain and > > subdomain.ourdomain.com pages, > > - JSESSIONID have different values under www.ourdomain and > > subdomain.ourdomain.com page. > ... > > I'm going to disable the J2EE session variables to see if it solves the > > problem. > > Ah, it sounds like your code is assuming CFID/CFTOKEN? If you have J2EE > Session Variables enabled, I believe that you must not refer to > CFID/CFTOKEN anywhere in your code. Once J2EE Session Variables are > enabled, CFMX will use jsessionid *instead* of CFID/CFTOKEN. If your > code accesses the CFID/CFTOKEN values, they'll be whatever persistent > values were last stored on your client computer - and would not be > valid. jsessionid, by contrast, is an in-memory cookie and does not > persist to disk. > > Sean A Corfield -- http://www.corfield.org/blog/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4