in reply to CGI and Sessions

Not that it's really a Perl problem, but a common solution is to send a redirect after receiving the POST. Then if the user refreshes they refresh that page, not one sending the POST contents.