I was just thinking the same thing ... if a new instance of application.cfc is created with each request, then perhaps it would work to put the try / catch block at the top of the CFC, like so:
<cfcomponent> <cftry> <cfset This.name = "myApplication"> <cfset This.Sessionmanagement=true> <cfset This.Sessiontimeout="#createtimespan(0,0,10,0)#"> <cfcatch type="Any"> <cfset This.name = "myApplication"> <cfset This.Sessionmanagement=true> <cfset This.Sessiontimeout="#createtimespan(0,0,0,0)#"> </cfcatch> </cftry> ....... Howz that for a hack? think it would work? On Fri, 11 Mar 2005 10:53:58 -0800, Paul Kenney <[EMAIL PROTECTED]> wrote: > Anyone have any idea how this same fix can be modified for use in > Application.cfc? > > > On Fri, 11 Mar 2005 11:20:06 -0700, Connie DeCinko <[EMAIL PROTECTED]> wrote: > > So far, this seems to be working for me. Have not seen an error... Yet. > > > > <cftry> > > <cfapplication name="theName" > > applicationtimeout="#createtimespan(1,0,0,0)#" > > clientmanagement="Yes" > > sessionmanagement="Yes" > > sessiontimeout="#createtimespan(0,0,20,0)#" > > setclientcookies="Yes"> > > > > <cfcatch type="Any"> > > <cfapplication name="theName" > > applicationtimeout="#createtimespan(1,0,0,0)#" > > clientmanagement="Yes" > > sessionmanagement="Yes" > > sessiontimeout="#createtimespan(0,0,0,0)#" > > setclientcookies="Yes"> > > </cfcatch> > > </cftry> > > > > > > -----Original Message----- > > From: Nando [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 11, 2005 11:10 AM > > To: CF-Talk > > Subject: Re: Problems at CrystalTech have gotten ugly! > > > > I have the Session is Invalid error happen on my development machine > > from time to time, and i've seen it on 6.1, so it seems this has > > nothing to do with the webhost, or with mx 7.0 in particular. I've > > made a few stabs at fixing it, but since it occurs kinda out of the > > blue, it's been a little hard for me to figure out what's been going > > on. > > > > Bud, thanks for nailing this issue, at least to the extent that i can > > deal with it gracefully. > > > > :-) > > > > Nando > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198486 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

