Are there any issues with using the request scope in lieu of the variable
scope?  Or is the fact that one's a struct the only difference?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-----Original Message-----
From: Simon Horwith <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Monday, December 04, 2000 2:03 PM
Subject: RE: deallocate


>Apparently the variables scope is not a struct.  Mr. Dave Watts pointed
this
>out to me, after my posting this e-mail.  Learn something new everyday, I
>suppose.  The variables scope does hold the local variables on a page,
>usually.  If you want to store your variables in a "local" scope structure,
>write them to the request scope.
>
>~Simon
>
>> Simon Horwith
>> Certified ColdFusion Developer
>> Fig Leaf Software
>> 1400 16th St NW, # 220
>> Washington DC 20036
>> 202.797.6570 (direct line)
>> www.figleaf.com
>>
>
>
>-----Original Message-----
>From: Simon Horwith [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 04, 2000 11:39 AM
>To: CF-Talk
>Subject: RE: deallocate
>
>
>indeed it is... on both counts.
>
>~Simon
>
>> Simon Horwith
>> Certified ColdFusion Developer
>> Fig Leaf Software
>> 1400 16th St NW, # 220
>> Washington DC 20036
>> 202.797.6570 (direct line)
>> www.figleaf.com
>>
>
>
>-----Original Message-----
>From: Jamie Keane [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 04, 2000 11:15 AM
>To: CF-Talk
>Subject: Re: deallocate
>
>
>I know that there's a scope defined for ordinary variables on a page.  It's
>the "variables" scope, right?  Anyway, whatever its name is, do you know if
>it's a struct too?  Thanks.
>
>--
>Jamie Keane
>Programmer
>SolutionMasters, Inc.
>9111 Monroe Rd., Suite 100
>Charlotte, NC  28270
>www.solutionmasters.com
>704.563.5559 x 228  Voice
>704.849.9291  Fax
>-----Original Message-----
>From: Dave Watts <[EMAIL PROTECTED]>
>To: CF-Talk <[EMAIL PROTECTED]>
>Date: Monday, December 04, 2000 10:04 AM
>Subject: RE: deallocate
>
>
>>> is there any function or method that would allow me to
>>> deallocate a variable after its been created and used?
>>
>>There's no explicit way to deallocate variables; typically, you simply
wait
>>for their scope to close. However, if the variable is part of a structure,
>>you can delete it from the structure, which should suffice. Many
variables,
>>such as Session variables, are stored within structures.
>>
>>Dave Watts, CTO, Fig Leaf Software
>>http://www.figleaf.com/
>>voice: (202) 797-5496
>>fax: (202) 797-5444
>>
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to