For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > February 2005 > sending headers with a redirect









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author sending headers with a redirect
Michael Powe

2005-02-15, 3:55 am

Here is what I would like to do:

I click a link on page A to go to page B. Page B redirects me to page
C and includes a referrer header showing page A as the referrer.

I know that I can't use $q->redirect("some url"), that creates its own
"package" when completing the redirection. I'm not sure what the best
approach is, or even if it is possible.

The reason I want to do this is that I want to be able use a redirect
at the "front door" without losing valuable information about where
visitors are coming from (search engines and so forth).

Thanks.

mp

--
'cat' is not recognized as an internal or external command,
operable program or batch file.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com