perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mak <p...@animeglobe.com>
Subject Re: $Response->Redirect($Server->URL())
Date Mon, 03 Jun 2002 23:29:20 GMT
On Mon, Jun 03, 2002 at 04:16:39PM -0700, Joshua Chamas wrote:
> This would be a trivial extension, but instead of doing this, 
> why not just have [in global.asa]
> 
> sub redirect {
>   $Response->Redirect($Server->URL(shift, shift));
> }

That works for me. I just thought that having the $Server->URL()
functionality automatically inside $Response->Redirect() is good for
programmer convenience, though.

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


Mime
View raw message