Hello,
I have a upload facility to upload a file - however, I do a check to see if the file already exists, if it does then I want to say "Do you want to overwrite this file?" with yes or no buttons. fine so far. However, on pressing yes I want to overwrite the file, the problem is that when I lose what ever was in file.postedfile so I can;t reupload until the usere selects the file again. is they any way i can store the file uploaded in a session variable so I can use it again when the user clicks to overwrite?
thanks your help
jim
I have a upload facility to upload a file - however, I do a check to see if the file already exists, if it does then I want to say "Do you want to overwrite this file?" with yes or no buttons. fine so far. However, on pressing yes I want to overwrite the file, the problem is that when I lose what ever was in file.postedfile so I can;t reupload until the usere selects the file again. is they any way i can store the file uploaded in a session variable so I can use it again when the user clicks to overwrite?
thanks your help
jim