I’m using a file upload control on a web form so a user can upload a picture. After uploading the picture the user has the option of going to another form with a link I have provided. I want the user to be able to use their browser’s back button to return to my upload form, but after uploading a picture and then following the link and then using the browser back button he gets the message When using the br
I know the problem is that the file upload control has uploaded a file and the file is still in memory or cach or in the HttpPostedFile collection. How do I clear this so that when the user clicks the browser back button he can return to the upload form if he wants to upload another picture?? I have tried Response.clear and Response.Expires = 0 but neither of those worked.
How do I clear the information after the file is uploaded?
Thanks
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you
I know the problem is that the file upload control has uploaded a file and the file is still in memory or cach or in the HttpPostedFile collection. How do I clear this so that when the user clicks the browser back button he can return to the upload form if he wants to upload another picture?? I have tried Response.clear and Response.Expires = 0 but neither of those worked.
How do I clear the information after the file is uploaded?
Thanks