Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I make a TRIAL ASP App?

Status
Not open for further replies.

Trope

Programmer
May 14, 2001
110
US
I am developing a pretty cool database app which I would like to offer free for 30 days before the trial runs out. How could I do this? Could anyone offer any advice? Thanks.

John
 
U could use a component that will be created in each asp from your trial and that component will tell you whend the asp site has expired... ________

George
 
You could also set up a table that links to the user table (if u have one) and could set an application status of sorts, whether it was a trail version, even the level operability based on the licensing package they bought from you.

for example :

tblUser_License (this links the user table to the license table)
idUser(int)
idLicense(int)

tblLicense (this holds license info)
idLicense(int,identity)
vcDescription(varchar 500)
 
Trope you responded to my question concerning the ASP and OUTLOOK problem I was having. you advised me to e-mail you for the code, however; I cannot find your e-mail address anywhere. Could you e-mail me with that code at cmssj@gpmlife.com

Thanks
 
This is not too difficult a problem...

Use a database field or a text file to store the date that the application was first started, and on each page check to see if the current date is more than 30 days from that first date. You can use the SerialDate function to return a date 30 days after the start date. If the current date is more than that then redirect to a "Sorry trial expired" page.

If you want to make it really dynamic, before you check to see if the app has expired, then check to see if your text file exists or your db field is not null. If either of these conditions is true then create the text file or put todays date into the db field.

Hope this helps...

G -GTM Solutions, Home of USITE-
-=
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top