Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In a ASP.NET program is there a location where I can I write temporary files?

Tags:

asp.net

In a ASP.NET program is there a location where I can I write temporary files? Assuming a default IIS installation, the program running under anonymous user?

Thank you

like image 907
Jane T Avatar asked Dec 07 '25 04:12

Jane T


1 Answers

You can pretty much save temporary files anywhere on disk as long as you have permissions. You will just need to make sure the files are uniquely named per anonymous user.

Ideally having a dedicated "temporary" folder is a good idea, where these files will be deleted or cleaned up periodically.

like image 167
Mark Redman Avatar answered Dec 08 '25 18:12

Mark Redman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!