Search found 4 matches
- Thu Mar 11, 2010 9:01 am
- Forum: PHP - Theory and Design
- Topic: How to turn off implicit session locking in php?
- Replies: 9
- Views: 3162
Re: How to turn off implicit session locking in php?
Argh - apparently some browsers (including firefox) chooses to internally serialize requests against identical urls. So, in effect, two requests, like this: http://localhost/script.php and http://localhost/script.php Will always be serialized, the second request will simply never start in the browse...
- Thu Mar 11, 2010 12:20 am
- Forum: PHP - Theory and Design
- Topic: How to turn off implicit session locking in php?
- Replies: 9
- Views: 3162
Re: How to turn off implicit session locking in php?
Thank you very much for your example, but it is the exact opposite behaviour that I'm after :-) Actually, I won't even be able to test your example, because it seems there is no way I can get php to run two instances of a script simultaneously in the same session - it _always_ runs the scripts in th...
- Wed Mar 10, 2010 6:12 pm
- Forum: PHP - Theory and Design
- Topic: How to turn off implicit session locking in php?
- Replies: 9
- Views: 3162
Re: How to turn off implicit session locking in php?
Sorry - I only mean for the demonstration script to work as I hoped :-) - Demonstrating the problem, that is. In this example I just want to avoid the use of sessions entirely - I want to know if there is a way to disable them locally for this script only, or (hopefully not :-)) that php will always...
- Wed Mar 10, 2010 5:16 pm
- Forum: PHP - Theory and Design
- Topic: How to turn off implicit session locking in php?
- Replies: 9
- Views: 3162
How to turn off implicit session locking in php?
I would like to run to requests in parallel in the same session, i.e. have two instances of a php script run simultaneously. To demonstrate, please see the code below (it will print 60 | chars with a second in between): Next, simply open two tabs in your browser and call the script from both tabs. I...