|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-26 16:38 UTC] iliaa@php.net
[2006-11-26 16:44 UTC] erhanbaris at gmail dot com
[2006-11-27 10:09 UTC] tony2001@php.net
[2011-07-14 03:43 UTC] info at foziasoft dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 26 23:00:01 2025 UTC |
Description: ------------ when i was use $_SESSION variable i find interesting thing. look at this. Reproduce code: --------------- <? session_start(); $_SESSION['id']=2006; header('Location: second.php'); ?> second.php <? session_start(); $id=1985; echo "\$_SESSION['id'] -> ".$_SESSION['id']."<br>\n"; echo "\$id -> ".$id."<br>\n"; ?>