|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Help with #request.appname#
I show a line in a website template that looks like it is requesting the appname to show on screen when summoned. However I am getting an error. "Error resolving parameter REQUEST.APPNAME
The object APPNAME is not present in the scope named REQUEST. It is likely that you have misspelled the name of the object you are trying to access." I am not sure where the request is looking for the APPNAME. Would it be looking in Database, Header, Footer, Other document? If you can help please drop a line. The command line looks like this. <cfoutput>#request.appname#</cfoutput> Thanks, Epitomy of Newness URL |
|
#2
|
|||
|
|||
|
In ColdFusion, REQUEST is a scope that could be considered "global". Some other scopes are VARIABLES, FORM, URL, ATTRIBUTES, SESSION, CLIENT, APPLICATION, and COOKIE.
So unless there is a line of code somewhere earlier during the execution that says cfset request.appname="somthing" You will get an error because that variable is not defined. Hope that helps. |
|
#3
|
|||
|
|||
|
Thanks kiteless
I knew there was a line telling each instance what the appname is. But didn't see it anywhere. I wasn't sure if it was a custome tag or in the DB somewhere so thanks for the help. I will work on it.
Alex |
|
#4
|
|||
|
|||
|
application.cfm
Check application.cfm the variable will be set there.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Help with #request.appname# |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|