500pts: Global variables?
Posted on 2006-04-22
Can anyone suggest the best method of using a global variable, now i know these are not technically supported but my scenerio is that i have a couple of XML config files that i wish to import and store so that they will be available through the life of the application.
These config files store things like "name of website", "can use ftp" etc etc... so technically they would never change and it seems pointless loading these in on every page if i need to use them... is there a better method?
Session i can't use as they expire.... but something similar?? maybe using the global.asax file?
Any ideas or advice?
Thanks in advance