Is there any way through which I can prevent a opened file handle from closing even the PHP finishes the code execution? I wanna store handles in cookies (or some local file) to reuse them in another script (or after refresh) .
PS: I cannot re-open files each time. I need to keep the file/pipe opened for a long time.