TJ,
If you want to log information back on the server, then the control that
you embed on the client side is going to have to send a message to the
server (proably another HTTP request or a web service. Since the client has
to have the .NET framework installed, your best bet would be to create a web
service that would get the details to write into the log, and then have the
control send requests to the web service as needed.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"TJ" <an*******@discussions.microsoft.com> wrote in message
news:A7**********************************@microsof t.com...
Dear Sir/Madam.
I have made one user control to embed in Internet Explorer.
I just wrote one method to keep track log something like..
public static void WriteLog(..) {
StreamWriter stWriter = File.AppendText("xyz.log");
strWriter.Append(.....);
...
...
strWriter.Close();
}
After I put this DLL file into web server, when I test this embeded DLL
by using HTML object tag, this code works, but log file was written in client-side, not server-side.
I do not want to write any log file in client-side. All I want is to write
some logs in server computer.
Is there any way I can write log file only in server computer?
Thanks.