pion Posted December 3, 2008 Share Posted December 3, 2008 I have a php script first accessing the $_SESSION variable (form token), then after form is validated, an external app is called (through cmd.exe). The external app is hanging from time to time (for reasons unknown), causing the $_SESSION variable to hang all pages accessing it for the user session! When accessing a page trying to access the $_SESSION variable (for the same user session) the page never comes back with any reply. Using processmonitor.exe I see that apache is unable to open the temp session file. Is there any way to not break the session with cmd app failing? (And still validate the form with form tokens before issuing the cmd) Link to comment https://forums.phpfreaks.com/topic/135388-solved-php-_session-var-completely-locked/ Share on other sites More sharing options...
pion Posted December 3, 2008 Author Share Posted December 3, 2008 session_write_close(); Link to comment https://forums.phpfreaks.com/topic/135388-solved-php-_session-var-completely-locked/#findComment-705184 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.