User Tools

Site Tools


libraries:cookiehandler:cookiehandlerclass:getvalidity

CookieHandler::GetValidity()


Definition

Returns the validity/lifespan of this cookie in seconds.

Int GetValidity ()

Returns

  • Int
    Validtiy/Lifespan set in the cookie in seconds

Example

$Cookie = new CookieHandler("Testcookie");
$CurrentValidity = $Cookie->GetValidity();
libraries/cookiehandler/cookiehandlerclass/getvalidity.txt · Last modified: 2022/12/13 16:16 by michael.pohl