I am using CGI script to retrieve the data from html page and store those details in the database. This is working fine.
But the problem is occuring, when we click the refresh (F5) button on the internet explorer. When refresh icon is clicked, the same data is again resubmitted so duplicate data is entered to database.
So i thought of using sessions so as to prevent this.
I have gone through the CGI::Session module, but I am unable to implement it.
Can anyone of you pelase give some examples of how to create the sessions and use in my CGI script?
I am using the POST method with the HTML form. but still the data is resubmitted when refresh is clicked