Global.asax variables ?

W

WJ

I am storing my global variables in the application "global.asax" file, some
are nd some are not sensitive. Is it OK to store sensitive data on Global
variables. Please note: some are created at Start of the app. some are
created at start of the request. I assume that these variables in the
global.asax file is "server side", therefore they do not travel to the
clients.

John
 
A

Alvin Bruney [MVP]

That's correct. The global asax file is specifically configured to not allow
serving. This setting may be overriden in the framework but it is on by
default so that shouldn't pose a problem. Typically, the use of global is
frowned upon because of the issues the cause with concurrent usage so just
bear that in mind.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top