Thanks!  I was secretly hoping there was an "official" way -- maybe in the
CFIDE/admin of CF8 -- but that is good to know I can get Session data if I
really need it.

What I ended up doing this time is "hacking" my own implementation.  I added
a method to my new object and have Application.onRequestStart try to call
that method from the user's Session object.  If if fails (the method doesn't
exist), I overwrite their old object with a new object.

Adds some code to Application.cfc, but I feel a lot more comfortable
updating that than poking around the innards of CF!

Jonathon

-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 07, 2007 9:57 PM
To: CF-Talk
Subject: Re: clearing Sessions on a per-site basis

Yes, if you don't mind hacking into the sessionTracker object in the service
factory. This allows full access to all data in every session on the box.
It's unsupported, so ymmv from version to version of CF etc. Let me know if
you can't find relevant code with Google.

On Nov 8, 2007 6:59 AM, Jonathon Stierman <[EMAIL PROTECTED]> wrote:
> Is there any way to wipe out all the Sessions on a particular site 
> running ColdFusion?
>
> My application is storing an instantiated object in the Session scope, 
> and I've just had to make an update to that object.  Trick is, I don't 
> want anyone wandering around the site with old versions of this 
> object.  I could reboot the ColdFusion service if necessary, but I'd 
> rather not take down all my sites just to push an update out to this one
site...
>
> TIA
>
> Jonathon



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292944
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to