Ah glad someone understands why I do this :-)

> -----Original Message-----
> From: Tim Blair [mailto:[EMAIL PROTECTED] 
> Sent: 10 May 2004 15:34
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Copy application scope to request scope
> 
> 
> 
> > Wasn't aware you needed these variables for application
> > initialisation. You could still cache them in the application 
> > scope once the application has been initialised, saving 
> > yourself including a deserialising a wddx file for each request.
> 
> The idea is that you store all the information required for 
> application init (such as app name and timeout, session 
> timeout etc) in an external file, so if you need to change it 
> for any reason you can do so without modifying the code - it 
> also helps with app reuse because you can use the same 
> application multiple times, just by changing the config file.
> 
> Obviously, you need things like the app name before you use 
> the <cfapplication>, and before this point there is no 
> "application scope" where you can persist the data.  As such, 
> you *must* get the data out of the config file (be it 
> properties, serialised WDDX etc) before you can initialise 
> the application.
> 
> Tim.
> 
> --
> -------------------------------------------------------
> <CF_CodingContest mode="judging" newentries="false">
> Maze Solver - http://tech.badpen.com/cfcontest/
> -------------------------------------------------------
> RAWNET LTD - Internet, New Media and ebusiness Gurus.
> WE'VE MOVED - for our new address, please visit our
> website at http://www.rawnet.com/ or call us any time
> on 0800 294 24 24.
> -------------------------------------------------------
> This message may contain information which is legally 
> privileged and/or confidential.  If you are not the intended 
> recipient, you are hereby notified that any unauthorised 
> disclosure, copying, distribution or use of this information 
> is strictly prohibited. Such notification notwithstanding, 
> any comments, opinions, information or conclusions expressed 
> in this message are those of the originator, not of rawnet 
> limited, unless otherwise explicitly and independently 
> indicated by an authorised representative of rawnet limited.
> ------------------------------------------------------- 
> 
> -- 
> These lists are syncronised with the CFDeveloper forum at 
> http://forum.cfdeveloper.co.uk/
> Archive: 
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>  
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: 
> *ActivePDF provided by activepdf.com*
>       *Forums provided by fusetalk.com* :: *ProWorkFlow 
> provided by proworkflow.com*
>            *Tutorials provided by helmguru.com* :: *Lists 
> hosted by gradwell.com*
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> 


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to