None expiring session

3 replies [Last post]
Joined: 11/18/2011
Points: 39

Hi,

What value should we use in expiry in order for the ks not to expire?

Thank you.

Regards,
Harry

Joined: 11/18/2011
Points: 39

I understand that the value is in seconds, however im getting an invalid ks when using -1 and 0 for the expiry field. When using null it expires after 12 hours or a day I think.

Thanks again.

Joined: 01/05/2009
Points: 1697

Hi,

Kaltura doesn't currently have the ability to create a non-expiring KS.
I'd recommend setting the expiry parameter to 10 years which is practically non expiring for most purposes.
I wouldn't set it to much more than that since the 32 bit timestamps can reach only year 2038.

Joined: 11/18/2011
Points: 39

So basically it should be:

Select service: session
Select action: start
secret: user secret
type: USER
partnerId: partner id
expiry: 315569260

Right?

Thank you.

Regards,
Harry