Forum Moderators: coopster

Message Too Old, No Replies

Getting cookie expire time?

         

benj0323

6:10 pm on Jul 27, 2005 (gmt 0)

10+ Year Member



Is it possible to retrieve when it expires and then turn it into the same format as mktime() or time()?

jatar_k

6:30 pm on Jul 27, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try setting the cookie

then use this to look at the values available to you

echo '<p><pre>';
print_r($_COOKIE);
echo '</pre>';

benj0323

8:21 pm on Jul 27, 2005 (gmt 0)

10+ Year Member



I get all of my cookie and one value called "cprelogin"

What is "cprelogin"?

jatar_k

8:56 pm on Jul 27, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



no clue, I would imagine your scripts are setting that somewhere

maybe grep your files for 'cprelogin'