Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

Lots of fSession files on remote server!

posted by thegoldenbus 8 years ago

Hello there,

I don't know what I'm doing wrong, but the first time I reload my page it creates a bunch of fSession files and for each reload one more. The strange thing is, that on my offline server (MAMP on OS X) it works just fine...!(?)

I just call on every page the fSession::open() method and correctly set the session length to '1 day' and the session path to a writable directory. The same on my offline server works just fine, only the remote server (linux) creates lots of files! each different with different content! e.g: fSession::type|s:6:"normal";fSession::expires|i:1316806650;

Has anyone an idea what could be the problem?

thanks TGB

I'm having this same problem. I noticed that there is an alternative where you can save the session into the database using fCache. I noticed that multiple records were then being created on the db but I'm modifying the code to work right.

posted by gabrielu 7 years ago

I am having the exact same issue with multiple session records in my database. It's even worse because I am on AWS which polls my app every minute to make sure it's up, each poll creates one more record in the database. I logged an issue on github like 6 months ago but now one has come back. Seems like a pretty big bug yet it's being ignored.

You said you were modifying the code? Did you manage to get it working correctly?

posted by superphonic 6 years ago

I am having the exact same issue with multiple session records in my database. It's even worse because I am on AWS which polls my app every minute to make sure it's up, each poll creates one more record in the database. I logged an issue on github like 6 months ago but now one has come back. Seems like a pretty big bug yet it's being ignored.

You said you were modifying the code? Did you manage to get it working correctly?

posted by superphonic 6 years ago