3
Answers

expire product after 15 days trial

nishant ranjan

nishant ranjan

12y
1.4k
1
i want that my product should expire after 15 days.
what i am doing is i am creating a registry file where i am writing the installation date and after 15 day i am expire the product.
but my issue comes when user changes the system date and time then my approach fails.
kindly suggest the way which i can do.
dont what to do with some licence encrypte dfile.
suggest someting with registery issue
Answers (3)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram