I am creating a form that will be sent via email only. I need to ensure that a particular form value is not duplicated within a given amount of time. I am using CGI::Session, and Cookies to store the parameter, however the parameter can change each time a form is submitted. Can someone point me in the right direction on how to store the values each time a form is submitted?
For example, I want to store a hostname value from a form in a CGI::Session parameter. The form will be submitted many times with different hostnames. I need to make sure the hostnames are not duplicated, and I need an easy way to add, check against the previous submitted hostnames for a given 4 hour session.