perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Chamas <j...@chamas.com>
Subject Re: Response->Redirect
Date Tue, 05 Nov 2002 08:31:45 GMT
Raghu.Nalamada@ubsw.com wrote:
> Thanks Josh & Brock
> 
>                   I have tried using Below
> 
> my $Sdate = $Server->URLEncode("$Start_Date");
> my $Edate = $Server->URLEncode("$End_Date");
> my $url = $Server->URL('http://Test/Graph.pl', { Start_Date => $Sdate,End_Date
=> $Edate,Format => "$Format" });
> $Response->Redirect("$url")
>
> Iam retrieving the values in Graph.pl as CGI Parameter Value and iam getting the below
for my SQl iam using and as u know is not a valid SQL
> 
> Date between Apr%2001%202002 and Apr%2001%202002  
> 

I believe $Server->URL() will automatically URLEncode the parameters.
So do not do the URLEncode first.

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message