Hi all!
Have problem with sessions. I need at the same time monitoring some event from database and send some commands into it.. I have use sessions so when first script running second cant start becouse session file is locked...I see that with php i cant find another solution for release that... Or i missed something ? I wat see that two my scripts working paralel...Is it possible?
Or maiby it will be better use Perl for release something alike that?
Please help me becouse i 'm not have many knowledge it this area ....
Sessions again...
Moderator: General Moderators
Ok
First script code
Second script code
Call them one by one and you see that second script will be waiting 100s and then print message
First script code
Code: Select all
<?php
session_start();
sleep(100);
?>Second script code
Code: Select all
<?php
session_start();
echo ("Its me");
?>Call them one by one and you see that second script will be waiting 100s and then print message