perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Carr <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message