How to make sure a subscription expire before the session

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
dingy
Sr. Member
Sr. Member
Posts: 14
Joined: 28 May 2013, 03:15

How to make sure a subscription expire before the session

Post by dingy »

Hello, support team:

I'd like to know how to make sure the subscription expire before its session expire?

According to the specification, when an old session expires, but its subscription is still alive, the client is able to call TransferSubscription service to attach it to a new session.

But the problem is that it will not make any sense to have a subscription with a lifetime longer than its session, because the TransferSubscription service is not supported yet.

So, it is better to make sure that the subscription could expire before its session.

Am I right?

Regards

User avatar
Support Team
Hero Member
Hero Member
Posts: 3071
Joined: 18 Mar 2011, 15:09

Re: How to make sure a subscription expire before the sessio

Post by Support Team »

The client could care for that, if it is important for you: Creating a subscription with LifetimeCount * PublishingInterval < SessionLifetime

Best regards
Support Team

Post Reply