House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Sessions persist after server restart

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Eric Cobb
09/20/2010 02:45 PM

So, I was working locally on an application today and I needed to restart my CF services.  Much to my surprise, after I bounced CF I came back to my application and I was not forced back to the login screen as I would have expected.  Rather, all of my session info was still there.   I then shut down CF, clicked around in my application to make sure everything was down, then brought CF back up and my session info was still alive in my application. So, I did a little research and came across this (http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_02.html) where it states: /If you use J2EE session management and configure the J2EE server to retain session data between server restarts, ColdFusion retains session variables between server restarts./ Ok, I'm using J2EE sessions, so now I know what's going on.  Now, my question is, how do I turn it off?  Adobe hints that you can configure the J2EE server to retain session data, but gives no clue as to where or how.  All I've found is the checkbox to enable/disable J2EE sessions. Also, is this something that is turned ON or OFF by default?  I'm just wondering if I accidentally turned it on, or if it's always been on and I never noticed it. -- Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (ColdFusion)
09/21/2010 10:27 AM

  Is it using the CLIENT scope, with vars in the db? Is it storing things in the COOKIE scope, and checking that scope on login for previously entered credentials? Steve "Cutter" Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 9/20/2010 1:45 PM, Eric Cobb wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Eric Cobb
09/22/2010 02:43 PM

No, the J2EE sessions are persisting between server restarts, just like the documentation says.  The docs just don't tell how to turn it off.   Adobe hints that you can configure the J2EE server to retain session data, which means that you should also be able to configure it NOT to retains sessions, but there's no mention as to where this configuration is or how to change it. Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com Cutter (ColdFusion) wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Carl Von Stetten
09/22/2010 03:03 PM

I don't know what the answer is, but it might help if you state which J2EE server you are using (JRUN, JBoss, etc.). Carl ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

October 22, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference