Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: CGI redirection

by tobyink (Abbot)
on Jan 17, 2013 at 14:20 UTC ( #1013789=note: print w/ replies, xml ) Need Help??


in reply to CGI redirection

Did you print an HTTP header before the redirect?

Don't do that.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Comment on Re: CGI redirection
Replies are listed 'Best First'.
Re^2: CGI redirection
by 5plit_func (Beadle) on Jan 18, 2013 at 10:03 UTC
    Many thanks tobyink it was the header which was first printed in the body of the documents right at the top of the program so i moved it into the if statement which needed it and it worked. thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013789]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-04-29 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.