apache - redirecting to url in perl web development -


I am trying to redirect to another URL in my Perl web application using CGI :: Session.

  to redirect sub {my ($ self, $ url) = @_; $ Self & gt; {Session} - & gt; Redirect ("http://google.com"); }   

But it does this, it adds links to informative text and URLs:

got

the document goes here gone.

How do I force it to load URLs? Is it an Apache configuration issue or a Pearl release?

This is probably a problem in your code, it is necessary to send a redirect instruction in place of normal instructions. I think you have already sent the header before calling this subroutine.

It is important to know what you want to send before sending it.

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -