You are here: Cookies. « PHP « IT news, forums, messages
Cookies.

Posted by "Nancy Ferracutti Kincaide" on 10/20/39 11:25

Hi,

I am trying to install a web application that tests if cookies are enabled
the following way:

$this->usesCookies =
(isset($_COOKIE[session_name()]) &&
@strlen($_COOKIE[session_name()])
== 32);

As it gives as a result, that cookies are NOT ENABLED, I can't go on with
the SETUP phase.

The responsible of the FALSE result, in the sentence above, is the LENGTH of
the string $_COOKIE[session_name()]. Its actual value is 26 instead of 32,
as expected. ¿Could anyone tell me if that LENGTH should be 32? ¿Is this
value mandatory to admit that cookies are enabled?

Thanks!

 

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

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