Hi there,
I set a cookie and then I deleted that cookie manualy from the cookies folder in my windows.
But although I deleted that cookie file from my windows, if I execute this code it'll give me the cookie contents:
<?
$CkUserName = $HTTP_COOKIE_VARS["CkUserName"];
echo "The content of the cookie is: $CkUseName":
?>
This is if I deleted the cookie file with colsing the session, it'll gave me the cookie content, even if I hit the Refresh button million times.
And if I set the cookie with a php script to null, it will not see the cookie:
<?
setcookie ("CkUserName","","","/",".myDomain.com",""
?>
This if I didn't close the session.
But if I closed the session and run the first script again, it will not see the cookie!
So is the cookie available for the session until its closed if deleted the cookis file manulay?
Anything wrong with my knowledge? Anyone can help?
I set a cookie and then I deleted that cookie manualy from the cookies folder in my windows.
But although I deleted that cookie file from my windows, if I execute this code it'll give me the cookie contents:
<?
$CkUserName = $HTTP_COOKIE_VARS["CkUserName"];
echo "The content of the cookie is: $CkUseName":
?>
This is if I deleted the cookie file with colsing the session, it'll gave me the cookie content, even if I hit the Refresh button million times.
And if I set the cookie with a php script to null, it will not see the cookie:
<?
setcookie ("CkUserName","","","/",".myDomain.com",""
?>
This if I didn't close the session.
But if I closed the session and run the first script again, it will not see the cookie!
So is the cookie available for the session until its closed if deleted the cookis file manulay?
Anything wrong with my knowledge? Anyone can help?