Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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.

--
meraxes


Comment on Re: CGI::App + Session value question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-12-19 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (83 votes), past polls