go ahead... be a heretic | |
PerlMonks |
CGI dropping my paramsby Jonathan (Curate) |
on Feb 08, 2001 at 20:26 UTC ( [id://57201]=perlquestion: print w/replies, xml ) | Need Help?? |
Jonathan has asked for the wisdom of the Perl Monks concerning the following question:
I'm still struggling with Apache::Registry/CGI One particular script calls another passing a list of parameters that the user selected. The second script (using the wonderful Spreadsheet::WriteExcel module) sends back a spreadsheet to the users browser. This works fine. In fact better than we'd hoped. However, there is one annoying problem. If you press 'Back' and then re-run every 'n' number of times the parameters seem to get lost. For example the code snippet Normally correctly generates something like the following country_report.pl?COUNTRY=AF&COUNTRY=UAJ&COUNTRY=AL&COU NTRY=DZ&COUNTRY=AD But sometimes this appears country_report.pl?COUNTRY=&COUNTRY=&COUNTRY=&COUNTRY =&COUNTRY=&COUNTRY=&COUNTRY=&COUNTRY= Before you ask use strict and warnings are on, The Apache error_log doesn't mention anything. The script saves and loads the current parameters in a file. By the way, I've pulled all my hair out. Any ideas gratefully received.
Back to
Seekers of Perl Wisdom
|
|