Сушай поставь ка в 3 аргументе хотябы time() + 600, а то походу без времени жизни устанавливается дохлая куки, которая по дефалту щитается как сессия, которая здохнет после закрытия браузера.
Цитата:
If set to 0, or omitted, the cookie will expire at the end of the session (when the browser closes).
Оттуда и Array ( [PHPSESSID] => 5a61946609204447dbcfa22787fd991d ) _________________ NextStage - live music competition
А вот тут я не соглашусь. Установка правильной зоны видимости кукисов очень сильно влияет на их восприятие различными браузерами. Я со своим сайтом на локалхосте раньше этот баг целый день вылавливал. Все браузеры , кроме opera, упорно не хотели отправлять куки корню сайта, если они были установлены в какой-либо из его директорий. _________________ сайт знакомств Забудь про фразу "Мне не с кем". Всегда есть с кем!
DISCLAIMER: All messages made available as part of this discussion group
(including any bulletin boards and chat rooms) and any opinions,
advice, statements or other information contained in any messages posted
or transmitted by any third party are the responsibility of the author
of that message. The fact that a particular message is posted on or
transmitted using this web site does not mean that we
endorsed that message in any way or verified the accuracy,
completeness or usefulness of any message.
Although we require that all users read and agree with the forum rules,
we cannot constantly monitor forum activity. We encourage visitors to the
forum to report any objectionable message to moderators. Once again, this
forum is not monitored 24/7.