I am created one website but it's login page showing before ask me License apply page, it is asked 30 days,90 days, 1 Year license then user apply valid license then go to login page otherwise redirect to same page.
Please help me how to do it.
if you have any doughts ask me, i have communication problem, please understand me request to every one.
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
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
1 Post
Web Page to apply Licnese
Nov 16, 2016 04:46 AM|ValiSK|LINK
Hi,
I am created one website but it's login page showing before ask me License apply page, it is asked 30 days,90 days, 1 Year license then user apply valid license then go to login page otherwise redirect to same page.
Please help me how to do it.
if you have any doughts ask me, i have communication problem, please understand me request to every one.
Thanks,
SK MASTAN VALI
Star
8670 Points
2882 Posts
Re: Web Page to apply Licnese
Nov 17, 2016 05:32 AM|Cathy Zou|LINK
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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.