Using Cookies

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all
I have an asp.net application (Survey form). I have a situation to handle.
I have to make sure that the same user doesn't submit the form(click the Save
button on the form) more than once in 24hrs. I kinda have an idea that I'll
have to use Cookies for this, but not sure how to go about it. Can someone
help me?

Thanks
 
You will need to use more than cookies. You will have to have the users
authenticate themselves, so that you can identify them uniquely. Once
you have a way to uniquely identify each user, you can track in your
database who has already submitted a response.

Simply placing a cookie on their computer would be insufficient, since
the user could always delete the cookie and submit your survey again.
 
Back
Top