Okay, most of the subscribers are off the site now, so I added the session_save_path where you suggested. Iâ€™m having problems getting the right path to the directory, just under public_html.
and no joy so far. Iâ€™m not sure how I should refer to in php be none of these are working for me.
I *think* Iâ€™ve fixed it with this:
session_save_path(realpath(dirname($_SERVER[â€™DOCUMENT_ROOTâ€™]) . â€™/sesstmpâ€™));
Iâ€™m going to get one of the other users to check and will let you know for sure. Hopefully this will all prove useful to someone else.
You can find your actual path in Reports -> System info, and you can use the full path. You could also use the defined constant MODX_BASE_PATH, as that is calculated before the function is defined.
Is that better than using the $_SERVER stuff that I used? It seems to work so Iâ€™m loathe to change it now - unless thereâ€™s a good reason to, of course.
...and still Iâ€™m struggling to get this to work.
Despite garbage collection not being set, something is cleaning up the files. Despite setting the timeout to a very long time, people are still having to log in (less often, granted, but still regularly, whereas the old site just accepted them even if they hadnâ€™t viewed the site for a week).
Would I be right in saying that I have to add something to the cookie thatâ€™s stored on the userâ€™s computer in order for this to happen? If so, how do I do that?
Ignore that last bit - a hangover to the problem, but probably better discussed in another area.