I need to keep a persistent connection open across multiple page requests. You cannot put PHP resources into the session.
My solution is to trigger a deamon on the first request and keep the PHP resource there. I then need to get the deamon to talk to my different page requests. I could do this the long way by using a database or file but I was wondering if I could somehow share the session...
Is this possible, and if so... how??
If you have a better solution to maintain persistent connections or if this is a particularly rubbish idea... please let me know.