dot-validate_expiration: Ensure expiration is valid

.validate_expirationR Documentation

Ensure expiration is valid

Description

Ensure expiration is valid

Usage

.validate_expiration(expiration)

Arguments

expiration

Days after which the cookie should expire. To remove an HttpOnly cookie, send a negative value for this attribute.

Value

NULL or the expiration as a double.


cookies documentation built on Oct. 3, 2023, 1:07 a.m.