Forums

This topic is locked

Absolutely NO Request.Form but getting this error:

Posted 10 Feb 2003 05:59:33
1
has voted
10 Feb 2003 05:59:33 Maria Angeloni posted:
I am getting the following error, although I have no Request.Form in my code:

Cannot use the generic Request collection after calling BinaryRead.
/imageupload.asp, line 68

BTW, line 68 is Session("ImageName" = String(Request("Name");

Here is my code for this simple page:
<pre id=code><font face=courier size=2 id=code>
&lt;%@LANGUAGE="JAVASCRIPT"%&gt;
&lt;!--#include file="../../Connections/Angeloni.asp" --&gt;
&lt;!--#include file="../../ScriptLibrary/incPureUpload.asp" --&gt;
&lt;SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER"&gt;
*** CODE DELETED ***
</font id=code></pre id=code>

Replies

Replied 04 Mar 2003 17:28:27
04 Mar 2003 17:28:27 George Petrov replied:
Request("xxx" is equal to Request.Form("xxx" as well

So you need to change it to UploadFormRequest("xxx"

Greetings,
George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFreaks.nl
--------------------------------------------------
Replied 03 May 2003 23:48:59
03 May 2003 23:48:59 Phil Shevlin replied:
Does Request.Querystring("x" cause any problems??
Replied 06 May 2003 10:54:25
06 May 2003 10:54:25 Patrick Woldberg replied:
Request.Querystring("x" will work fine

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------

Reply to this topic