Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: CGI::App + Session value question

by meraxes (Friar)
on Jan 22, 2009 at 22:01 UTC ( #738336=note: print w/replies, xml ) Need Help??

in reply to CGI::App + Session value question

That error is coming from HTML::Template in this line:

$template->param( Main_navigation_menu => \@DBRows );

... not the session. I suspect a dump of @DBRows would illuminate the problem.

Update: After a second look at this, if you were to send a link to someone with rm=Page this'll probably may go boom because there's been nothing placed in that session parameter (since the user never went to "Startup" first. Perhaps some logic in the BuildPage runmode that will force them over to the Startup Page if the session var isn't set. CGI::Application::Plugin::Forward is handy for this.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738336]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2018-06-22 11:59 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.