Redirecting Using

Published Date Author: , Posted October 7th, 2010 at 8:53:41am

To generate a redirection header in use the following syntax where $q is the cgi handle:

print $q->redirect(‘’);

If you use redirection like this, you should not print out a header as well.

You should always use full URLs (including the http: or ftp: part) in redirection requests. Relative URLs will NOT work correctly.

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.