On Thu, 2 Jan 2003, Jo Geraerts wrote:

> On Tue, Dec 31, 2002 at 10:45:03AM +0200, Mundell, R. (Ronald) wrote:
> > Does any one knows how to redirect one CGI page to another?  I am writing a
> > webpage to do login. on success it needs to reload a different page in its
> > place otherwise it must reload itself. If anyone can help me, please do.
>
> from perldoc CGI
>
>
>        GENERATING A REDIRECTION HEADER
>
>           print $query->redirect('http://somewhere.else/in/movie/land');

or before printing the content:
print "Location: http://somewhere.else/in/movie/land\n";;
exit;

:)

C.
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to