.validate_expiration: Ensure expiration is valid
Description
Ensure expiration is valid
Usage
.validate_expiration(expiration)
Value
NULL or the expiration as a double.
Arguments
- expiration
Days after which the cookie should expire. To remove an
HttpOnly cookie, send a negative value for this attribute.