hesco has asked for the wisdom of the Perl Monks concerning the following question:
What I expect to see is the url in the location bar of my browser change from the account_creation page to the dashboard page. I also expect to see debug noise in the logs when dashboard is processed.$self->log('DEBUG',"The status is current. We now redirect to: +\n" . $self->{'cfg'}->param("www.dashboard")); $redirect = 1; $html = $self->{'q'}->redirect( uri => $self->{'cfg'}->param("www.dashboard"), status => 303 );
What I actually see is no change in the location bar, no noise in the log past the log message above, and an empty page with no content (not even html skeleton). Meanwhile if I open a neighboring tag on my dashboard, it opens as would be hoped, throwing anticipated noise into the logs, and apparently recognizing the session created by the create_account page.
What is it, please, I am missing about this CGI->redirect() method?
Any clues appreciated,
-- Hugh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI->redirect() won't, it seems.
by ikegami (Patriarch) on May 29, 2009 at 23:06 UTC | |
|
Re: CGI->redirect() won't, it seems.
by Anonymous Monk on May 30, 2009 at 01:49 UTC | |
by Burak (Chaplain) on May 30, 2009 at 15:01 UTC | |
by Anonymous Monk on May 30, 2009 at 15:41 UTC |