October 20th, 2003, 11:49 AM
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.
Epitomy of Newness
October 20th, 2003, 08:47 PM
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
You will get an error because that variable is not defined.
Hope that helps.
October 21st, 2003, 09:14 AM
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.
October 30th, 2003, 08:54 PM
Check application.cfm the variable will be set there.