Syntactic Confectionery Delight | |
PerlMonks |
Re: Checkbox parameter not being stored in CGI::Sessionby Anonymous Monk |
on Oct 11, 2014 at 09:35 UTC ( [id://1103482]=note: print w/replies, xml ) | Need Help?? |
I see a few problems urls are hardcoded ... debugging via log ... eew $global_session ... super yuck random suspicious or die on $! usage not seen in the docs CGI::Application::Plugin::Session is broken as session_config seems to have no effect your logic is fudgy, you don't use P/R/G both collect_data and display_data are the same form, and pretty much the same code, and in both codes you fetch data from the $cgi_query and not from the $session -- this is fudge -- and in both display and collect you save data into session -- display is display I think having templates and logging and "everything" is confusing you (it confused me), its just a lot of stuff to juggle You should start with pictures, for example
In Section
Seekers of Perl Wisdom
|
|