Make Process IO Redirects persist between pages

  • Thread starter Thread starter Evan
  • Start date Start date
E

Evan

Hi,

I'm creating a web application that runs a java application to handle
some processing in libraries that I've only been able to find written
in java. In VB.Net I'm creating a Process with ProcessStartInfo and
settings RedirectStandardInput and RedirectStandardOutput to true so I
can send information to the java process. Since my program is AJAX
based, I need a way to preserve the Process.StandardInput and
Process.StandardOutput streams. When the page which initializes the
process is loaded these streams exist, but if I call GetProcessById()
using these streams fail. Is there any way I can get these streams
back in the subsequent views?

Evan
 
A .Net process (such as a service) must remain in memory on the server,
which can serve as an intermediary between your application and the Java
process.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 
Back
Top