rhino-licensing icon indicating copy to clipboard operation
rhino-licensing copied to clipboard

Subscription experation -4 days

Open stephencoombs opened this issue 12 years ago • 7 comments

Could you please exlain why you have the following line of code within ValidateSubscription? I have been testing an app using it and wanted to see what happens the day before and the day of expiration, but kept getting failures for both. Upon stepping through the code I found the following line, but there was no comment on the reason why expired is expired date plus four days?

if ((ExpirationDate - DateTime.UtcNow).TotalDays > 4)

stephencoombs avatar Sep 25 '13 16:09 stephencoombs

It means, 4 days before the subscription license expire, check with the subscription service to get a new license. We usually generate subscription licenses with 3 days grace period, so you actually have that happen when we renew the subscription

On Wed, Sep 25, 2013 at 7:24 PM, stephencoombs [email protected]:

Could you please exlain why you have the following line of code within ValidateSubscription? I have been testing an app using it and wanted to see what happens the day before and the day of expiration, but kept getting failures for both. Upon stepping through the code I found the following line, but there was no comment on the reason why expired is expired date plus four days?

if ((ExpirationDate - DateTime.UtcNow).TotalDays > 4)

— Reply to this email directly or view it on GitHubhttps://github.com/ayende/rhino-licensing/issues/7 .

ayende avatar Sep 29 '13 08:09 ayende

Cheers for getting back to me, did think that might be the case. I will just add abit of padding to the subscription date in that case, as I am not using a subscription service at this point.

stephencoombs avatar Sep 29 '13 22:09 stephencoombs

How are you going to renew the subscription, then?

On Mon, Sep 30, 2013 at 1:51 AM, stephencoombs [email protected]:

Cheers for getting back to me, did think that might be the case. I will just add abit of padding to the subscription date in that case, as I am not using a subscription service at this point.

— Reply to this email directly or view it on GitHubhttps://github.com/ayende/rhino-licensing/issues/7#issuecomment-25331051 .

ayende avatar Sep 30 '13 05:09 ayende

I was going to send out the subscription as a file that would be uploaded to the web site via a page, as I don't have a central web server for it to access.

stephencoombs avatar Oct 28 '13 16:10 stephencoombs

What is your subscription period?

Oren Eini CEO Hibernating Rhinos Cellular: +972-52-548-6969 Office: +972-4-674-7811 Fax: +972-153-4622-7811

On Mon, Oct 28, 2013 at 6:15 PM, stephencoombs [email protected]:

I was going to send out the subscription as a file that would be uploaded to the web site via a page, as I don't have a central web server for it to access.

— Reply to this email directly or view it on GitHubhttps://github.com/ayende/rhino-licensing/issues/7#issuecomment-27226461 .

ayende avatar Oct 29 '13 04:10 ayende

Its currently going to be 6 months but this might change to a year.

stephencoombs avatar Oct 29 '13 15:10 stephencoombs

That is fine for the users, then.

Oren Eini CEO Hibernating Rhinos Cellular: +972-52-548-6969 Office: +972-4-674-7811 Fax: +972-153-4622-7811

On Tue, Oct 29, 2013 at 5:39 PM, stephencoombs [email protected]:

Its currently going be 6 months but this might change to a year.

— Reply to this email directly or view it on GitHubhttps://github.com/ayende/rhino-licensing/issues/7#issuecomment-27313923 .

ayende avatar Oct 29 '13 15:10 ayende