Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: cgi redirect

by blokhead (Monsignor)
on Jul 31, 2003 at 18:30 UTC ( [id://279707]=note: print w/replies, xml ) Need Help??


in reply to cgi redirect

The redirect method simply returns the text of the redirect header, you still have to print it!
print $q->redirect("train1.htm");
Also be sure that no other headers (Content-type, etc) are printed before this line.

blokhead

Replies are listed 'Best First'.
Re: Re: cgi redirect
by skyknight (Hermit) on Jul 31, 2003 at 18:53 UTC
    Guh... I remember making that very mistake just a month ago. So aggravating, and so embarassing when I realized that that was the problem...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2025-06-16 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.