If it's CFMX for J2EE, it could be running on any one of several different J2EE app servers (JRun, WebSphere, WebLogic, SunONE, etc.).
The only reason a J2EE app server would set the jsessionid cookie again is if it didn't see the first cookie. Check your http headers and see if you can see what's happening. We had a case of running a CFMX app on WebSphere and a Java app on Oracle's 9iAS app server - each app server wanted to set its own "jsessionid" cookie, so the browser ended up losing the session everytime it went from one to the other. We ended up setting a flag in the database to tell if there was an active session for that user, so he could go to the one app on WebSphere or the other app on Oracle. Chris Norloff ---------- Original Message ---------------------------------- From: Nick Cabell <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Wed, 01 Dec 2004 10:45:22 -0400 >Thank you so much for the helpful answer (finally!). > >If it is JRUN that is setting the jsessionid (regardless of whether you have >told CF to store session variables in the j2ee object) then what >explains why there is no jsessionid coming from the hosted site - does this >suggest they are not running CFMX on top of JRUN? > >Also, any idea why there the jsessionid cookie is set and then immediately >reset when I first access the dev site that is running on top of JRUN? From >what you say, that cannot be anything I am doing since it is done by the j2ee >software. > > >> CFMX doesn't set the jsessionid cookie itself, it's set by the J2EE >> application server. Setting CMFX to use J2EE session management means >> CFMX session variables are stored in the J2EE HTTP session object (and >> can thus be accessed through Java calls). >> >> Setting CFMX for J2EE session management on a shared host would >> require some coordination, but seems feasible. >> >> best, >> Chris Norloff >> >> http://www.macromedia.com/support/coldfusion/ts/documents/tn18232.htm > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185865 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

