Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uploading A File With ASP 2

Status
Not open for further replies.

Skittle

ISP
Sep 10, 2002
1,528
US
I have fiddled with the code found on the excellent FAQ at:-

The one problem I have is accessing extra parameters I have coded as a radio button selection into UpLoadStart.asp.
When I try to access the radio button value in UpLoadEnd.asp
with:-

Response.Write Request.Form("pdfradio")

...I get the error message:-

'Cannot use Request.Form collection after calling BinaryRead'.

Is there no way I can pass an additional form parameter with the form to make a destination decision?
 
Use UploaderObj.Form("pdfradio") instead.

________
George, M
 
There are ways but not through the POST. You can assign the extra form parameters to session variables. That way they're where ever you (your page) are and you can write them to the database (or whatever) from the page that that receives the Binary post.
 
Thanks chaps.

Uploader.Form("pdfradio") allows me to access the form
radiobutton I need. I had thought about session variables but it seemed a bit of a long winded way of sorting it.

Really appreciate your help though. Needed this working for my boss by tomorrow morning.

 
yes hi every one.
i am studying the code source can someone here tell me what the variables vDatabounds and nDataBoundPos mean?
(in the uploadfunction.asp page?

thank u very much.
loveflower
meg from france
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top