|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-07-26 04:27 UTC] druid at takeover dot nl
The following code:
ini_set("session.use_cookies", "0");
session_name("Session");
session_start();
Does not seem to work any more (cookie is generated and carried by the browser), it did work before (using PHP 4.0.6). Any ideas?
Cheers,
Michiel
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 01 15:00:02 2026 UTC |
I can not reproduce this with 4.3.0-dev.. Try this script instead: <?php ini_set("session.use_cookies", "0"); session_name("Session"); session_start(); var_dump($_COOKIE); ?> Reload it couple of times. For me, the $_COOKIE array remains empty. If I comment out the ini_set() line, then the cookie will be set.