Dear Wayne,

[EMAIL PROTECTED] schrieb:
One method of doing this is to define a static StatConnector class in C# see for example:_ __<http://www.daniweb.com/forums/thread49952.html>_
but I certainly don't think this would be a recommended approach!
Alternatively I could store the instance of the StatConnectorClass to a server side "Application Object" or "Session object" see for example:_ <http://www.csharphelp.com/archives/archive207.html>_ (I have yet to test this approach).

Can anyone perhaps suggest another better approach?

I have not tried to use this in the context of a ASP.NET application, but I would suggest to have a look at RServerManager.

Using RServerManager, you can store IStatConnector-objects with a specific name in an object repository (RServerManager) and later retrieve the same objects by querying the object with its name.

Basic documentation and an adminstrative console is included in the R/Scilab (D)COM server setup.

Regards,
Thomas

_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to