Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

application variables not recognized

Status
Not open for further replies.

spiveygb

Programmer
Jun 24, 2003
27
0
0
US
I have several variables listed in the application_onstart routine in my global.asa file. However, when I try to reference them in other pages I get nothing for the value. Can someone provide some ideas on why this is happening?
Code excerpt from global.asa:
Code:
Application("FIFMS_current_countylyr_num")=45

Then I try to reference the value in another pages such as:
Code:
response.write "intIndex = " & Application("FIFMS_current_countylyr_num")
 
well, one of my buddies just pointed me to the answer...
In IIS Manager you have to make sure that the "application settings" section is set properly. To check this go to IIS Mgr, rt click "properties" on the virtual directory containing the application, and then examine the "application settings" under the "virtual directory" tab.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top