No such thing as a small change | |
PerlMonks |
Re^5: how to use -nosticky in CGI?by chargrill (Parson) |
on Dec 18, 2006 at 20:42 UTC ( [id://590552]=note: print w/replies, xml ) | Need Help?? |
Thank you for giving me some more to go on. I can understand your not wishing to share proprietary (or maybe incriminating! :) information. Please know that demonstrations of bad behavior can really pretty easily be mocked up (see below ;). I looked at the docs for CGI (which I haven't done in a very very very long time, and I think my locally installed copy is a little rusty, hence not using things like start_table) and really can't undertand what's causing this behavior. I whipped up something that is self contained, possibly recreates the functionality your form has (I could be way off, though), and doesn't really do anything other than to exercise the code - if you hit "New Entry", nothing happens, since the data shown in the rows is coming out of an unchangeable __DATA__ section.
I would be really interested if you follow these steps:
... and you see the behavior recreated (i.e. whatever was in there last during an "edit" shows up after clicking "add". Otherwise, pvbcharon might be on to something - you're seeing persistence of data that has a source other than your code. --chargrill
In Section
Seekers of Perl Wisdom
|
|