CGI session not working correctly
Posted: Wed Oct 05, 2016 9:21 am
I have a CGI working on run-rev server that hang on on the following piece of code since the last week:
If I comment out start session and stop session the program run fine and don't stuck anywhere else, unfortunately setting the session is a fundamental piece for this program so I need to fix this issue.
How can I fix that?
SOLVED:
There was a session file that was corrupted. David Williams of the OnRev customer service fixed that.
EDIT:
It was solved until now, the session file keep getting corrupted. So what's the problem?!
Code: Select all
set the sessionSavePath to the defaultfolder
set the sessionLifetime to 36000
start session -- here is where it get stuck and keep load until gateway timeout
if $_SESSION["counter"] is empty then
How can I fix that?
SOLVED:
There was a session file that was corrupted. David Williams of the OnRev customer service fixed that.
EDIT:
It was solved until now, the session file keep getting corrupted. So what's the problem?!