CGI session not working correctly

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
EtrnlSnshnOSptlssMnd
Posts: 2
Joined: Wed Oct 05, 2016 9:12 am

CGI session not working correctly

Post by EtrnlSnshnOSptlssMnd » 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:

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
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?!

EtrnlSnshnOSptlssMnd
Posts: 2
Joined: Wed Oct 05, 2016 9:12 am

Re: CGI session not working correctly

Post by EtrnlSnshnOSptlssMnd » Mon Nov 14, 2016 9:27 am

UP! None is answering in this forum.

Post Reply

Return to “CGIs and the Server”