No problem at all. That's what I'm here for. :)

> Thanks for the info Issac. Yeah, I should have known that
> there wasn't
> any MM stuff on Java classes, because there unsupported,
> duh! I'll just
> google it. Thanks for you time.

> -Daniel Elmore


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of S.Isaac Dealey
> Sent: Saturday, January 31, 2004 3:37 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Kick or punt user session


> Actually it is something that interests me... It's also
> something that a
> number (not sure if it's a lot) of people have been
> requesting as a
> feature (or collection of features) in CF for a while...
> It'd be nice if
> we could have native functions to get a list of all the
> applications on
> a server or all the sessions in an application without
> having to concoct
> our own byzantine frameworks to do it. :) Something like
> ApplicationList() or SessionList(appname) or
> SessionStruct(sessionid,appname). (In that order so
> appname can default
> to the current application if any.) The problem with this
> of course is
> that it requires extra special attention given to
> sandboxing
> -- the function can't retreive application or session data
> outside your
> own sandbox for fear of people hacking their neighbors on
> shared
> servers.

> As for documentation... There's lots of documentation
> around. There's
> some on CFDev.com that's labelled "ColdFusion
> un-Documentation" and
> Jochem VanDieten has published some... Unfortunately
> because MM haven't
> published documentation for any of their Java classes, I
> don't _think_
> there's a good single repository of knowledge, since
> everyone's had to
> do their own tinkering...

> If you do a google search for
> coldfusion.server.serviceFactory you'll
> find all sorts of information about various internal API's
> like this hof
> thread where Ben Forta is telling Stacy Young that they
> didn't expose
> the API for query caching (dangit!).

> http://www.houseoffusion.com/cf_lists/index.cfm/method=mes
> sages&thread
> id=13977&forumid=4

> sorry for the line-wrap

> Anyway... tons of stuff here:

> http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=col
> dfusion.serv
> er.serviceFactory

> hth

> p.s. Man... every time I think I've heard the last new
> feature that
> could be implemented in CF I read something else where
> somebody's asking
> for something I never thought of. :) I must have read 50
> or so of them
> in the last week. Granted, that's partly 'cause I was
> reading some older
> threads about requested features (like multi-threading) on
> Christian
> Cantrell's blog. :)

> Plus I'm encouraging people to go to the MM site and
> request they
> re-implement the dbvarname attribute in cfprocparam based
> on the work in
> my recent custom tag which makes cfstoredproc as easy to
> use as
> cfinsert. :) (Did I post about that on this list?) In any
> event, it's
> all free in the framework for anyone who's interested. The
> feature
> request form for anyone who doesn't already know is here:

> http://www.macromedia.com/go/wish


> s. isaac dealey   214.823.9345

> new epoch : isn't it time for a change?

> add features without fixtures with
> the onTap open source framework
> http://www.turnkey.to/ontap



>> Thanks to my history in C++, what you said makes since,
>> he
>> he :) If the
>> topic interests you, by all means look into it, if not
>> don't sweat it. I
>> was merely hoping someone had a bit of knowledge about
>> sessions that I
>> didn't have.

>> I would like to ask you if you know where to find good
>> documentation
>> on the coldfusion classes, like the servicefactory for
>> example. Something
>> that would list the available methods and their
>> arguments.

>> Thanks,
>> Daniel Elmore
>> [EMAIL PROTECTED]


>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of S.Isaac Dealey
>> Sent: Friday, January 30, 2004 10:38 PM
>> To: [EMAIL PROTECTED]
>> Subject: RE: Kick or punt user session


>> Yea, I wouldn't expect that to work actually... If I can
>> find some time
>> I may take a look at it... I would expect you would have
>> to use methods
>> in MM's Java class for session management. Unfortunately
>> the methods
>> that actually set and retreive session variables in that
>> class may or
>> may not be exposed to CF -- they might be package methods
>> that can only
>> be accessed by private methods in the pageContext object.

>>> I should note what I have tried. I have tried setting
>>> Session.CFToken
>>> and Session.CFID to the token pair of the session I wish
>>> to edit, and
>>> then editted the session struct directly. That didn't
>>> work, it still
>>> grabbed the session for which the processing page is
>>> using.


>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On
>>> Behalf Of Daniel Elmore
>>> Sent: Friday, January 30, 2004 8:47 PM
>>> To: [EMAIL PROTECTED]
>>> Subject: RE: Kick or punt user session


>>> Yes I believe so. I should have been more specific.
>>> Here's some code
>>> that calls it.

>>> <cfset sessiondata =
>>> createobject("java","coldfusion.runtime.SessionTracker")
>>> >
>>> <cfset curr_sessions =
>>> sessiondata.getSessionCollection("your_application_name_
>>> h
>>> e
>>> re")>
>>> <cfdump var="#curr_sessions#">

>>> It just returns this giant struct of struct of
>>> structs...

>>> Thanks Isaac!


>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On
>>> Behalf Of S.Isaac Dealey
>>> Sent: Friday, January 30, 2004 8:38 PM
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: Kick or punt user session


>>> The sessionTracker is part of the CFMX
>>> coldfusion.server.serviceFactory object? ...

>>> I'd have to have a look at it to see if I had any ideas.


>>>> Hey everyone, I'm really itching for some information
>>>> on this, I put
>>>> a

>>>> post on the macromedia forums and didn't get any help.

>>>> I am using the SessionTracker class to find all
>>>> sessions variables
>>>> in memory under a specfic application name. I want to
>>>> clear/modify/delete

>>>> a session variable based off a choosen CFTOKEN pair.
>>>> How can
>>>> you delete or
>>>> access session variables that are under a different
>>>> CFTOKEN pair than
>>>> the current page you are running? I want to be able to
>>>> kick or punt a
>>>> users session, but how do I modify the contents of the
>>>> sessions
>>>> returned from the SessionTracker. Does this even sound
>>>> possible?

>>>> Thanks a bunch!
>>>> Daniel Elmore
>>>> [EMAIL PROTECTED]

>>>> -----------------------------------------------
>>>> To post, send email to [EMAIL PROTECTED]
>>>> To unsubscribe:
>>>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>>>> To subscribe / unsubscribe: http://www.dfwcfug.org



>>> s. isaac dealey   214.823.9345

>>> new epoch : isn't it time for a change?

>>> add features without fixtures with
>>> the onTap open source framework
>>> http://www.turnkey.to/ontap


>>> -----------------------------------------------
>>> To post, send email to [EMAIL PROTECTED]
>>> To unsubscribe:
>>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>>> To subscribe / unsubscribe: http://www.dfwcfug.org


>>> -----------------------------------------------
>>> To post, send email to [EMAIL PROTECTED]
>>> To unsubscribe:
>>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>>> To subscribe / unsubscribe: http://www.dfwcfug.org


>>> -----------------------------------------------
>>> To post, send email to [EMAIL PROTECTED]
>>> To unsubscribe:
>>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>>> To subscribe / unsubscribe: http://www.dfwcfug.org



>> s. isaac dealey   214.823.9345

>> new epoch : isn't it time for a change?

>> add features without fixtures with
>> the onTap open source framework
>> http://www.turnkey.to/ontap


>> -----------------------------------------------
>> To post, send email to [EMAIL PROTECTED]
>> To unsubscribe:
>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>> To subscribe / unsubscribe: http://www.dfwcfug.org


>> -----------------------------------------------
>> To post, send email to [EMAIL PROTECTED]
>> To unsubscribe:
>>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
>> To subscribe / unsubscribe: http://www.dfwcfug.org




> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To unsubscribe:
>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org


> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To unsubscribe:
>    Send UNSUBSCRIBE to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org



s. isaac dealey   214.823.9345

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.turnkey.to/ontap


-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   Send UNSUBSCRIBE to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to