Groups | Blog | Home
all groups > asp.net > february 2008 >

asp.net : Make Process IO Redirects persist between pages


Evan
2/18/2008 11:44:49 PM
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?

Kevin Spencer
2/19/2008 7:42:02 AM
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

[quoted text, click to view]

AddThis Social Bookmark Button