i have created a login system. when the user logged in, the login time is stored... i dont have any problem in that.
after login the user moved to the user page. in this if the user refresh the page, it stores the current time in the login time...
so i have multiple login times for the user in the table. how to avoid if the user refresh the page it shouldnt put an entry into the table...
after login the user moved to the user page. in this if the user refresh the page, it stores the current time in the login time...
so i have multiple login times for the user in the table. how to avoid if the user refresh the page it shouldnt put an entry into the table...
Comment