Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 meditating upon the Monastery: (4)
As of 2015-08-29 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (342 votes), past polls