Global.asax variables ?

  • Thread starter Thread starter WJ
  • Start date Start date
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
 
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.
 
Back
Top