I'm trying to scope my application vars to request vars. I can't see
locking my application.userName, application.passWord in CFQUERY and if I
need to do request.varName = application.varName why not just scope them to
request vars in the application.cfm. I know from my last post that some
people are using request vars in place of application variables. It seems
as though if I set a request variable in your application.cfm it "WILL" be
set on every page request and its not possible to use isdefined() against
it? Is this true? Example:
<cfif not isdefined('request.username')>
<cfset request.username = "demo">
<cfset request..password = "demo">
</cfif>
This seems to enter the IF LOOP on every page request.
Thanks..
Daniel Bogesdorfer
Senior Programmer / Analyst
Office Of Research Health Sciences
University of Pittsburgh
412.648.2366
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists