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:

Re: [PHP] SESSION LOST!

2007-05-14 Thread Yannick Warnier
Le jeudi 10 mai 2007 à 15:24 +0200, Oliver Block a écrit : > Am Donnerstag, 10. Mai 2007 08:59 schrieb Sascha Braun: > > but after a little > > time, the session is just lost. > > That doesn't say anything to me. Could you be more verbose on what you mean > by > "the sessin is lost"? :-) I get

Re: [PHP] SESSION LOST!

2007-05-10 Thread Oliver Block
Am Donnerstag, 10. Mai 2007 08:59 schrieb Sascha Braun: > but after a little > time, the session is just lost. That doesn't say anything to me. Could you be more verbose on what you mean by "the sessin is lost"? Regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] SESSION LOST!

2007-05-10 Thread Sascha Braun
Hi Fellows, I am developing on a large project. Its containing a couple of ajax scripts. One day, my temporeary folder was full, because everytime i clicked some- where in the page, a new session file was created. So i decided, to change to a database driven session management. But it did not rea

[PHP] session lost after window close

2003-02-07 Thread Libor Bubik
I have problem with session in MS IE. When I open new window from main window and then I close this window, in parent window are lost all session variables. Libor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session lost when back button hit?

2002-08-16 Thread Justin French
on 17/08/02 4:01 PM, Jean-Christian Imbeault ([EMAIL PROTECTED]) wrote: >> One (hackish) solution to this is to cause the entrance page to >> immediately redirect to itself using either PHP's header function, or a >> meta refresh. Your goal here is to make it so that hitting back from a >> secon

Re: [PHP] session lost when back button hit?

2002-08-16 Thread Jean-Christian Imbeault
Alok K. Dhir wrote: > > By any chance, is page one the "entrance" page to your application? Yes. > I.e. is there a session id in either the query string of the page URL or > was there one passed to it via a POST? Nope. Is the is the entrance so there is no nothing passed to it. Users just ente

RE: [PHP] session lost when back button hit?

2002-08-16 Thread Alok K. Dhir
reshed entrance page which has the session ID. Good luck. > -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > .net] On Behalf Of Jean-Christian Imbeault > Sent: Friday, August 16, 2002 10:43 AM > To: [EMAIL PROTECTED] > Subject: [PHP] sessi

Re: [PHP] session lost when back button hit?

2002-08-16 Thread Jean-Christian Imbeault
Daniel Masson wrote: > > make ser youre using session_start() before performing any action on > sessions, also make sure you´re registering properly the variables. Did you see my PS at the end of my question? > PS I have session.auto_start ON and enabled trans-sid I don't need seesion_start()

RE: [PHP] session lost when back button hit?

2002-08-16 Thread Daniel Masson
] Asunto: [PHP] session lost when back button hit? I have two pages, page one links to page two via a form button. The browser does not accept cookies. On page two I create a session variable with: $_SESSION["id"] = 1; But if I hit the back button to go back to page one $_SESSION[&qu

[PHP] session lost when back button hit?

2002-08-16 Thread Jean-Christian Imbeault
I have two pages, page one links to page two via a form button. The browser does not accept cookies. On page two I create a session variable with: $_SESSION["id"] = 1; But if I hit the back button to go back to page one $_SESSION["id"] is not set. If I hit the reload button on page one it is