The two main ways to do this are using the coldfusion.runtime.SessionTracker object, or using a structure in the application scope to track valid sessions. This has been discussed before on this list, so you should be able to find some good information. I also remember reading some good info on Ray Camden's site.
Good luck, Mike Chabot On 5/10/07, Won Lee <[EMAIL PROTECTED]> wrote: > Hi, > > I want to edit the values of someone else's session variables. I have a > session variable named session.user.isLoggedIn. I want to set it to 0. I > have the session.sessionID. > > The reason I want to do this is because I want to be able to close my old > session when I log in from another computer. The scenario is this. > > I log into computer A and my sessionID is MyApp_1111_11111. I forget to log > off and go home. I input my username and password. The system tells me that > I'm already logged on and asks me if I want to close my old session. If I > click on Yes, the system will query the DB and based on my userID it will > return my old sessionID. At the very least I want to change my > session.user.isLoggedIn = 0 for sessionID MyApp_1111_11111. Afterwards the > system will log me and create a new sessionID, MyApp_2222_22222 or some other > ID. > > TIA, > Won > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277684 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

