I think you mean strings instead of variable names as I said. Are you using 'use
strict'?
It looks like you're passing undefined variables into query_form, in which case
your URL looks like
http://mypc/AspFile.asp?=2000&=24
which isn't right at all. Your JavaScript will look for the two parameters, find
neither of them, and leave data1 and data2 blank. Your response will therefore
be empty.
HTH,
Rob
> -----Original Message-----
> From: D.Gupta [mailto:[EMAIL PROTECTED]]
> Sent: 06 September 2001 16:09
> To: Rob Dixon
> Subject: Re: To send data from perl script to HTML /ASP page.
>
>
> Hi,
> Actually when I try to get this data on AspFile.asp file
> http://mypc/AspFile.asp) which is having the code:
>
> <%
> dim data1, data2;
> data1 = Request.QueryString("dataReceived");
> data2 = Request.QueryString("Area");
> response.write data1;
> response.write data2;
> %>
> then I am unable to open 'http://mypc/AspFile.asp' page. Does it mean that
> there is no data?
>
> Regards,
> Deepak
>
> ----- Original Message -----
> From: Rob Dixon <[EMAIL PROTECTED]>
> To: D.Gupta <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, September 06, 2001 7:59 PM
> Subject: RE: To send data from perl script to HTML /ASP page.
>
>
> > What is the error Deepak?
> >
> > Don't you mean
> >
> > $url -> query_form( 'dataReceived' => '2000', 'Area' => '24' );
> >
> > ???
> >
> > Rob
> >
> >
> > > -----Original Message-----
> > > From: D.Gupta [mailto:[EMAIL PROTECTED]]
> > > Sent: 06 September 2001 15:33
> > > To: [EMAIL PROTECTED]
> > > Subject: To send data from perl script to HTML /ASP page.
> > >
> > >
> > > Dear all,
> > > I want to send data from perl script to HTML/ASP page (AspFile.asp in
> > > following code). I am using the code which looks like:
> > >
> > > use URI:: URL;
> > > my url = url( 'http://mypc/AspFile.asp' );
> > > $url -> query_form( $dataReceived => '2000', $Area => '24' );
> > > $content = get($url);
> > >
> > > But it does not work. Is there any other way?
> > > Thanks in advance.
> > >
> > > With regards,
> > > Deepak
> > >
> > >
> > >
> > >
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]