Reputation: 21406
I am using the following code in my global.asa Application_Start event. My question is, do I need to do anything special so this application variable is usable across a web farm, since my classic ASP app is hosted on a web farm?
Sub Application_OnStart
companies.add "a", "Athens"
companies.add "b", "Belgrade"
companies.add "c", "Cairo"
set Application("companies") = companies
End Sub
Upvotes: 1
Views: 655
Reputation: 189457
Assumptions:
companies
variable.Application
object usuable.Where the above assumptions are all true then you are good to go. If any are false you have a problem.
If you have a problem with the first two then you have a problem with or without a web farm so you should be able to test that before depolyment.
If you have a problem with the third assumption then you are going to need the help of a backing DB, and some other plumbing.
Upvotes: 1