User-707554951 posted
Hi ValiSK.
Base on your needs, I suggest you could create an table to store license information.
The table includes following columns:
UserName, Password(license), Register data, Invalid data.
When User register an license, we could store above information in database.
When user use provide his correct UserName when using his license, in this step. We could to check the User name whether exist in database(OnTextChange event),
if database haven't such username. We could display a warning letting user type correct user name.
If username is correct. we could retrieve Password ,Register data, invalid data from database.
In the following, we could compare the password user typed to the password we retrieved from database. And using Register data, Invalid data to calculate the expired data. Then compare with the date user use his license.
If password is incorrect, displaying an message to let user type correct password.
If expired data>date (user use his license).direct to some page.
Otherwise, redirect to login page>
Best regards
Cathy