You are here: Cookie not appearing in Temp Folder « PHP Programming Language « IT news, forums, messages
Cookie not appearing in Temp Folder

Posted by Paul Charlton-Thomson on 06/27/05 02:07

Can anyone explain why my cookie is not appearing in the Temporary Internet
Folder on my PC?

It sets OK and I can test it put when I go to the folder it's not actually
there?

I am using the following code ...

$cookie_data = $value1 . '#' . $value2;
setcookie ("mycookie", $cookie_data, $time + 2419200);

and then ...

if (isset($_COOKIE['mycookie']))
{
$cookie_data = explode("#", $_COOKIE['mycookie']);
$value1 = $cookie_data[0];
$value2 = $cookie_data[1];
}

Thanks,

Paul.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация