Try onRequest instead. Adrian
-----Original Message----- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: 04 September 2008 15:06 To: CF-Talk Subject: RE: ses and application.cfc If I put that code in onRequestStart I get this error. I think it is because I am creating a function inside of a function. Unable to complete CFML to Java translation. Error information unsupported statement: class coldfusion.compiler.ASTfunctionDefinition > -----Original Message----- > From: Tom Chiverton [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 10:00 AM > To: CF-Talk > Subject: Re: ses and application.cfc > > On Thursday 04 Sep 2008, Chad Gray wrote: > > How should I use this script when using Application.cfc? > > onRequestStart() > > -- > Tom Chiverton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312017 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

