Get cookie expiration

Posted by Ashish Rajan on Stack Overflow See other posts from Stack Overflow or by Ashish Rajan
Published on 2010-05-15T10:25:21Z Indexed on 2010/05/15 10:34 UTC
Read the original article Hit count: 388

Filed under:
|

Is it possible to read cookie expiration time with php ? When I print_r($_COOKIE) it outputs:

Array
(
    [PHPSESSID] => 0afef6bac83a7db8abd9f87b76838d7f
    [userId] => 1232
    [userEmail] => [email protected]
    [firstName] => user
    [lastName] => user
)

So I think $_COOKIE don't have the expiration time, is it possible with some other function?

© Stack Overflow or respective owner

Related posts about php

Related posts about cookies