Writing to a file on server using asp.net web application

  • Thread starter Thread starter Bishoy George
  • Start date Start date
B

Bishoy George

The all System.IO examples that use StreamWriter class work in a .exe
program means in windows applications or console ones.
I need to write to a file on the server (not on a file in the client like
cookies).
My aim is to make something like counter for a site using C# language in
asp.net web application.
Thanks in advance.
 
Those same examples that work in an exe will work in ASP.Net just the same.
The only problem might be security permission. Make sure whatever account
you have running the ASP.Net process has write access to wherever you are
writing.

Karl
 

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

Back
Top