How to keep a shell open across multiple ajax requests in PHP?
- by Joost van Doorn
I need to use a shell across multiple ajax requests. Basically this means that the next request should be able to continue with the same shell where the other process left off.
The purpose is to communicate with daemons like FTP to open an FTP connection and log in and in the next request continue with that connection and be able to use it for uploads. But it's not limited to only the FTP daemon (as I know that FTP is supported in PHP).