Question : Temporary ASP.NET files

I've a ASP.NET 2.0 application that writes HUGE .post files in the directory “Temporary ASP.NET files" I've tried turning OFF and ON the debug mode in web.config file with no luck. I understand that the temp folder is used for app compilation but I do not understand why app creates .post files that are larger than 3 GB. What's the culprit? Could this be a sign of hacking? Thanks...

Answer : Temporary ASP.NET files

What this is a sign of is people POSTing large chunks of data to your website.  These are not compilation files, but instead contain a cache of the POST data sent to your website:

Elsewhere on the web, I have read - ASP.NET 2.0 caches large POSTs to disk when the POST is
greater than 256 bytes by default. The default location for the cached
data on my machine is following:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\<appName>\<tempFolder>\<tempFolder>\uploads

Not knowing how your app is written, or what it accepts, I could not tell you if a large POST cache is a sign of hacking or if it's part of normal operation - you'd have to examine your application and what expected POST data you're getting (file uploads? - post-cache substitution? session-state out of control?)
Random Solutions  
 
programming4us programming4us