how to detect the same value entered in textbox for the second time.... RRS feed

  • Question

  • User711643727 posted


    in my apllication

    user supposed to enter his id two times a day.....

    when user enters id in textbox , i have to detect wether is it first or second time in a day....

    the id is stored in sqltable...

    Tuesday, August 6, 2013 5:57 AM


  • User-1360095595 posted

    You'll have to add a column in your table to keep track of the count as well as reset the count at midnight or whatever time your counter is supposed to reset. 

    Our you might consider using a cookie though that's not as secure. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 6, 2013 6:10 AM