
URL (Token) Signing
Hi. I have difference between my local time and server time. What time i need to install?
Hi. I have difference between my local time and server time. What time i need to install?
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.