> At 10:15 AM 01/31/2002 -0500, you wrote:
>

>   They are global to the request, the same way that 
> application or server 
> variables are.  Unlike application / server variables, they are not, 
> persistent among separate requests.
> 
>   They are Global, but not persistent.  I view each 
> ColdFusion template as 
> its own program.

Perhaps I'm being anal here, and, folks, feel free to just ignore me.
But I still say global is a bad word. As I will describe below, you will
see that the variables are NOT global.


>   I don't see much use beyond "A way to avoid sending 
> parameters to custom 
> tags."  Unless I'm mistaken the only difference between the 
> variables scope 
> and the request scope is that variables in the request scope 
> are  available 
> to custom tags.

As well as onRequestEnd.cfm

> 
> >Request variables are NOT global at all. If I set request.foo to
> >randrange(1,100), I will get a different request.foo 
> variable then you
> >will (most likely ;).
> 
>    You mean you will get a different request.foo variable for 
> each request, 
> correct?  The value is not going to randomly change with each 
> access?  If 

Yes, it will. That is why I'm saying that you are wrong about calling
request a 'global' scope. It is only defined for the requst.

So, if Bob hits your site, request.foo will be 5, for instance, and Mary
will have 22.

Make sense?

-rc
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to