This sample application provides input on how to create Trial Versions of applications and their distribution & activation mechanism for the developer community. The Sample application attached herewith gives an idea on how to Create Application ID, generate activation key and activation of the same by the user. It includes an Activation form where 'No. of Tries left' is shown along with a button (How To Activate), on click of which shows an 'Application ID'.
P.S. By default "no. of times left" shows 1000. This means the user can login upto 1000 times in the application. This no. can be defined by the Developer also. (Syntax: MaxAllowed=1000)
Steps to be Followed:
1) How to Activate - On click of this button by the user a message box pops up with the application id. The user would need to send the application ID to your predefined Email address (Eg.info@xxxx.com)
2) Use your custom logic to Generate an activation key and send the same to the user.( Refer sample code in samplekey.asp )
3) The user enters the activation key and clicks on activate button.