How do I code a simple login/registration page that has an option for users to first try it out for 3 days and then after that the session expires and the page can no longer accessible even if users are logged in without first paying a monthly subscription.
Share
You need to store in your database the date the user registered on your application. Then when he accesses your website you verify when this user registered and if it’s been more than X days you display a specific message asking him to pay subscription.