Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Jason Wong
On Tuesday 07 December 2004 21:48, Rory McKinley wrote: > 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? In theory yes. But most likely your brows

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Richard Lynch wrote: Now, the question is, what will PHP do when it starts with page_9? Will it unserialize $_SESSION['policeman'] again, even though it already has an unserialized instance of $_SESSION['policeman']? If it does unserialize, does that mean that it creates a second instance of $_SES

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> Now, the question is, what will PHP do when it starts with page_9? Will > it unserialize $_SESSION['policeman'] again, even though it already has > an unserialized instance of $_SESSION['policeman']? If it does > unserialize, does that mean that it creates a second instance of > $_SESSION['police

RE: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> external medium: POST or GET variables, a SESSION, a database, or COOKIES. > Of these, only the database is purely server-side; the session very nearly > is, maintaining only the session id client-side; whilst GET, POST and > COOKIES all involve a full round-trip to the client. (On the client si

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> 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

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Jason Wong wrote: On Tuesday 07 December 2004 20:50, Rory McKinley wrote: 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.

RE: [PHP] Sessions and multiple windows

2004-12-07 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 07 December 2004 12:50, Rory McKinley wrote: [] > Page_3.php starts, unserializes $_SESSION['policeman'], and begins a > lengthy SQL query that will take a few minutes to co

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Jason Wong
On Tuesday 07 December 2004 20:50, Rory McKinley wrote: > User clicks through to page_3.php from page_2.php. > > Page_3.php starts, unserializes $_SESSION['policeman'], and begins a > lengthy SQL query that will take a few minutes to complete. When Page_3.php does its business it will have locke

[PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Hi List I am afraid that this is going to be a long complicated question. And to start off with I have RTFM, STFA, STFW - and have yet to find the answer I am looking for - unless, perhaps I am asking the wrong question? But back to the subject - I have an app that allows users to open multiple