Does application.cfc replace my application.cfm in my root folder? My
application.cfm currently only contains the following code;
<cfsilent>
<cfif right(cgi.script_name, Len("index.cfm")) NEQ "index.cfm" AND
right(cgi.script_name, 3) NEQ "cfc">
<cflocation url="index.cfm" addtoken="no">
</cfif>
</cfsilent>
does this need to be transferred to an application.cfc and if so is this all
that I need to do to my fusebox application?
________________________________
From: Brian Kotek [mailto:[EMAIL PROTECTED]
Sent: Thu 07/07/2005 15:38
To: Fusebox
Subject: Re: Fusebox4.1 & Application.cfc
Not reliably, because the only way to "know" when a session has timed out is
to use the onSessionEnd() event in Application.cfc. Just create an array of
users onApplicationStart(), add new session counters to the array
onSessionStart(), and remove them onSessionEnd().
On 7/7/05, Andy Mcshane <[EMAIL PROTECTED]> wrote:
>
> What I am hoping to acheive is as accurate as possible method of tracking
> how many people, and who, are logged in at any one time, hopefully capturing
> timed out sessions and being able to remove them from the logged in count.
> Can this be done within fusebox alone?
>
> ________________________________
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thu 07/07/2005 15:19
> To: Fusebox
> Subject: Re: Fusebox4.1 & Application.cfc
>
>
>
> I certainly don't know of any reason why you couldn't.
> Application.cfc basically just sets up some event handlers for the
> application, somewhat like a "Super Application.cfm". You could have
> the handlers call fuseactions in your application (though even with
> an FB app, they could just run independent code).
>
> - Jeff
>
> On 5 Jul 2005 at 18:16, Andy Mcshane wrote:
>
> > Thanks, I was hoping that I would be able to still use the session part
> of the cfc without messing up my fusebox app.
> >
> >
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Flash MX Pro from House of Fusion, a Macromedia Authorized Affiliate
and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=57
Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54