#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0

    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
    aschroeder@sharptechnology.com
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,264
    Rep Power
    968
    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.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0

    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
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    5
    Rep Power
    0

    application.cfm


    Check application.cfm the variable will be set there.

IMN logo majestic logo threadwatch logo seochat tools logo