rancon
03-20-2008, 11:19 AM
Hello,
I have a problem when a user uploads big file size. i know i can change the maxREquestLength but just in case they upload a very large file, i would like to give them an error message instead of just a cannot be display page or DNS error.
I have found a code where they say i can add an event Application_BeginRequest in the global.asax page. I am running locally so where exactly my global file need to be. The folder is C:\temp\Uploading\. I tried to put the event in there but still not working. Could you please help? Thanks,
I have a problem when a user uploads big file size. i know i can change the maxREquestLength but just in case they upload a very large file, i would like to give them an error message instead of just a cannot be display page or DNS error.
I have found a code where they say i can add an event Application_BeginRequest in the global.asax page. I am running locally so where exactly my global file need to be. The folder is C:\temp\Uploading\. I tried to put the event in there but still not working. Could you please help? Thanks,