No, because the URL still stands: http://localhost/cgi-bin/sample_report.pl?value=xyz.
the $check variable is used in the script to differentiate between viewing (which is what appears to be needed here) and editing.
If the idea is that the person can update by clicking the URL the $check can be included in the param() call and added by the user (who presumably is in the loop) to show that the file should be updated:
http://localhost/cgi-bin/sample_report.pl?value=xyz&check=1
Update: (N.B. the &check=1 is added by the user, not received from the script, and, of course, one should think about adding a password for good measure...) | [reply] |
And after the user clicks http://localhost/cgi-bin/sample_report.pl?value=xyz&check=1 this url sticks in the browser location field and when there is a refresh the same url is again submited to the server. (If you submit it in POST it won't do any better)
| [reply] [d/l] |
| [reply] |