perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Carr <ga...@openfusion.com.au>
Subject Re: $http_headers_out{'location'} = $previous
Date Fri, 27 Dec 2002 02:22:33 GMT
On Thu, Dec 26, 2002 at 02:10:13PM +0000, Gerardo Schimpf wrote:
> I'm working with cookies and sessions, and I'm wondering how can I redirect
>  in embperl to the previous page (where the user is comming from) instead of
>  the login page... Am I beeing clear enough?  Thanks in advance...

$previous = $ENV{HTTP_REFERER}.

Although it's often better to pass the previous page as an explicit 
argument ($fdat{back} or something) if you can.

Cheers,
Gavin


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


Mime
View raw message