Shared Global variable

C

coderr

hi folks,
i have a simple question, I need a mechanism like Application State, a
global variable in the memory which is shared by all clients and also
i want to access it from a different PROCESS on the same server??

Another question: Is there a memory location (or a live object)
accessible from all websites on a single machine (global to ISS)??

i can solve above problems by using disk files(IO) as shared resources
or .NET Remoting etc. but i wonder if there a simple built-in
mechanism

thanks in advance
 
B

bruce barker

the .net vm does not support this. you should use remoting or a
database. you can p/invoke and a nt shared library to do this in memory
only.

-- bruce (sqlwork.com)
 

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

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,244
Members
46,839
Latest member
MartinaBur

Latest Threads

Top