So you're trying to do it inside the pseudo constructor?

Why not just do it in onRequestStart?

Mark

On Tue, Aug 19, 2008 at 4:25 PM, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
> That doesn't work unless you are in a function.
>
> If I do...
>
> <cfcompoent>
>        <cfscript>
>                if (structKetExists(URL, "init")) {
>                        structClear(APPLICATION);
>                        }
>        </cfscript>
>
> ..It errors saying APPLICATION is not defined
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
> Of Mark Mandel
> Sent: Tuesday, 19 August 2008 4:24 PM
> To: [email protected]
> Subject: [cfaussie] Re: Clear the application scope in an Application.cfc
>
>
> StructClear(application)
>
> Mark
>
> On Tue, Aug 19, 2008 at 4:17 PM, Steve Onnis <[EMAIL PROTECTED]> wrote:
>>
>> How do you clear the application scope from inside an Application.cfc?
>>
>> I have something like this but it doesn't work..
>>
>> <cfcompoent>
>>        <cfscript>
>>                if (structKetExists(URL, "init")) {
>>                        structClear(this);
>>                        }
>>        </cfscript>
>>
>> ....and so on
>>
>> Do you need to call it elsewhere?
>>
>>
>> Steve
>>
>>
>>
>> >
>>
>
>
>
> --
> E: [EMAIL PROTECTED]
> W: www.compoundtheory.com
>
>
>
>
>
> >
>



-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to