What instead Request.Form when getting a BinaryRead error?
I know I read somewhere I couldn't use Request.Form in front of the pureasp extension (and that's why I'm now getting this error:
"Cannot call BinaryRead after using Request.Form collection"
but I don't remember what to replace it with?
After you use the Pure ASP Upload you can't use the Request.Form collection. You should use instead UploadFormRequest(..)
So for example,instead of writing:
Now you should write:
Note this is only the case AFTER the upload is executed, not when initialy the upload form is just displayed. So you can write the following code block that is only executed after the upload:
If (CStr(Request.QueryString("GP_upload")) <> "") Then
'Do something with the other fields
myvar = UploadFormRequest("myvar")