1

I'm trying to access variables, previously set in application state object in global.asa, inside a server side javascript file.

In vbscript it's easy to access the application state object like so: application("varname")

When I try to do the same in javascript application variable is undefined.

What's the right way to access application state variable in classic asp using javascript?

1 Answer 1

2

Switching to JScript means you are introducing case sensitivity;

Application("varname") = "foo";
Sign up to request clarification or add additional context in comments.

1 Comment

well that was easy :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.