Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

URL (Token) Signing


Hi. I have difference between my local time and server time. What time i need to install?

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

The time zone you are in should not matter when using URL Signing because the best practice is for the script that you are using to dynamically generate the signature to get the current time and then add how ever long you want the URL to be valid for to that value.

For example – in PHP, you would use the following:

$expires = time() + 3600;

That would take the current time, add 3600 seconds (1 hour) to it and set the expiration to that time. This would result in the URL being valid for one hour from when the URL is generated.

Thank you.

This question has received the maximum number of answers.