Request variables are created and recreated for each individual HTTP
request.   REQUEST scoped variables do not persist beyond a single request,
though all tags, nested tags, and included files can access it.  I believe
everything else you said looked correct to me.

~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: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 5:37 PM
To: CF-Talk
Subject: REQUEST scope


I know we've had a trillion questions about variable scopes, but I have one
more:

Please correct me on any of the following:

The REQUEST scope:

1. Doesn't need to be locked.

2. Is stored in server memory.

3. Is only generated once per application (as opposed to once per client
session).

4. Is available to all templates (custom tags, includes, base, etc.)

5. Should be primarily used for "constants".



Is there a negative to using it?


Thanks,

Evan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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