Page 1 of 1

One script/session, one socket?

Posted: Fri Aug 08, 2008 6:53 am
by alfmarius
I'm curious to the details around how PHP works when it comes to scripts/sessions and open sockets.
My scenario:

I have a script that uses sessions. This script is a admin script that can do many things, one of them copying files from one server to local backup directory. This copy takes time, and i noticed that when the copying is running i cant runt the same script in another tab, it just hangs. though if i run the script with a different session_name it will run.

Is there some limitations on fopen/sockets in php?

Thanks for any info or links on the subject!

:)

Re: One script/session, one socket?

Posted: Fri Aug 08, 2008 7:34 am
by ghurtado
Your problem probably has nothing to do with sessions or sockets, and likely everything to do with the server being busy while it processes the first command, so it cant run again until it is done.