Re: Sessions and multiple windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason Wong wrote:
On Tuesday 07 December 2004 20:50, Rory McKinley wrote:



<snip>
As Page_3.php is still doing its business the session data file is locked and when page_9.php tries to session_start() and finds it has no access to it will suspend execution until the lock is relinquished by Page_3.php.
<snip>
... because by the time it has access to the session data that unserialized instance of $_SESSION['policeman'] has already gone ...
<snip>

Hi Jason

Thanks for the rapid response.

So if I understand you correctly if the first page takes a half hour to complete its queries, then the second page is going to sit for a half an hour before it can access the session variables?

So the only way for the user to be able to do anything while the first page is at work is to get a new session id for each new window?

In such a case, is there any way to pass information between sets of session variables in such a case? (I.e from $_SESSION['policeman'] of session number 1 and $_SESSIOn['policeman'] of session number 2)

TIA





--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
====================

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux