StructClear and passing in a string...

2007-01-26 Thread Andy Matthews
I have an interesting situation... We have a multi-server configuration and there are times when we need to clear a certain structure, SESSION.userinformation or APPLICATION.siteinformation for example. BUT, we need to clear it across all servers. My first thought is to create a template that

Re: StructClear and passing in a string...

2007-01-26 Thread Qasim Rasheed
This should work on CFMX AFAIK cfset StructClear( getPageContext().getBuiltinScopes().get( YOURSTRUCT ) ) / HTH On 1/26/07, Andy Matthews [EMAIL PROTECTED] wrote: I have an interesting situation... We have a multi-server configuration and there are times when we need to clear a certain

RE: StructClear and passing in a string...

2007-01-26 Thread Andy Matthews
Interesting! I'll give that a shot, thank you Qasim! andy -Original Message- From: Qasim Rasheed [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 1:47 PM To: CF-Talk Subject: Re: StructClear and passing in a string... This should work on CFMX AFAIK cfset StructClear

RE: StructClear and passing in a string...

2007-01-26 Thread Andy Matthews
Quick question... What if we wanted to just call a CFC and pass in ANY scoped variable? -Original Message- From: Qasim Rasheed [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 1:47 PM To: CF-Talk Subject: Re: StructClear and passing in a string... This should work on CFMX

RE: StructClear and passing in a string...

2007-01-26 Thread Mike Tangorre
From: Andy Matthews [mailto:[EMAIL PROTECTED] Quick question... What if we wanted to just call a CFC and pass in ANY scoped variable? Pass the name of the scope, that is, the string... session, application, etc.. and not the scope itself.