tags:

views:

37

answers:

1

I have an IIS 6 web server with several web sites running. In one web site, there is ASP.NET code that sets an application variable using the simple syntax below.

Can another web site on that same server read the value that was set?

Can a COM+ application read that value?

Application("favoriteWebSite") = "I love StackOverFlow"
+2  A: 

I don't believe so, but if these are web apps you could always make it accessible via a page that outputs the value or a web service that the other web sites could call.

Eric Petroelje
Eric is correct your web site cannot read other web site's Application variable.
MADCookie