Re: [PHP] session lost problem

2012-04-24 Thread bug zhu
2012/4/24 ma...@behnke.biz > > > bug zhu hat am 24. April 2012 um 08:28 geschrieben: > > > thank you for your explanation, > > when i write to $_SESSION after session_commit(),$_SESSION is just a > > regular array > > Yes. Actually session_commit does not "terminate" the session as mentioned > e

Re: [PHP] session lost problem

2012-04-24 Thread ma...@behnke.biz
bug zhu hat am 24. April 2012 um 08:28 geschrieben: > thank you for your explanation, > when i write to $_SESSION after session_commit(),$_SESSION is just a > regular array Yes. Actually session_commit does not "terminate" the session as mentioned earlier but is closes it for writing. You cann

Re: [PHP] session lost problem

2012-04-23 Thread bug zhu
thank you for your explanation, when i write to $_SESSION after session_commit(),$_SESSION is just a regular array 2012/4/24 Stuart Dallas > Please don't top-post, and please include the list when replying. > > On 24 Apr 2012, at 06:35, bug zhu wrote: > > 2012/4/24 Stuart Dallas > >> On 24 Apr

Re: [PHP] session lost problem

2012-04-23 Thread Adam Richardson
On Tue, Apr 24, 2012 at 12:58 AM, bug zhu wrote: > there are tow php files a.php and b.php, > > content of a.php as follows: > session_start(); > if (!isset($_GET['flag'])) > { > header('Location: b.php'); > } > else > { > var_dump($_SESSION); > } > > content of  b.php as follows: > session_star

Re: [PHP] session lost problem

2012-04-23 Thread Stuart Dallas
Please don't top-post, and please include the list when replying. On 24 Apr 2012, at 06:35, bug zhu wrote: > 2012/4/24 Stuart Dallas >> On 24 Apr 2012, at 05:58, bug zhu wrote: >> >> > there are tow php files a.php and b.php, >> > >> > content of a.php as follows: >> > > > session_start(); >> >

Re: [PHP] session lost problem

2012-04-23 Thread Stuart Dallas
On 24 Apr 2012, at 05:58, bug zhu wrote: > there are tow php files a.php and b.php, > > content of a.php as follows: > session_start(); > if (!isset($_GET['flag'])) > { > header('Location: b.php'); > } > else > { > var_dump($_SESSION); > } > > content of b.php as follows: > session_start(); >

[PHP] session lost problem

2012-04-23 Thread bug zhu
hi all: there are tow php files a.php and b.php, content of a.php as follows: