Click here to Skip to main content
15,921,454 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All,

I had a web application, and we are promoting it as a product.
So, for our clients we are planning give the free trials. So we don't want to make so many changes for the trial versions, that is why we are planning to track the user activity time. Then we can disable the access after a particular time.

So how to track the User activity time in the application. Then how to restrict the user after reaching the time limit.

Please help me in this regard.

Thanks in Advance.
Posted
Updated 13-Jul-11 21:20pm
v2

1 solution

Well, I think its more a business decision and not a techincal that on what parameters you want to deiable the access.
Some options could be:
1.) While creating a user account, add a ExpiresOn property. Disable the user access if the date has crossed ExpiresOn.
2.) Track the no of logins by the users. Disables the access if number of logins increases your desired number.
 
Share this answer
 
Comments
Rakesh Katanguri 14-Jul-11 5:30am    
Hello Mr. Bhardwaj,
Am very thankful for ur response...
But actually we are planning to track the total number of hours, then we can set the time limit for the users to disable their login credentials...

So, is there any option to build the application like this.


Thnks,
Rakesh Reddy Katanguri

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900