Posted by Dave on 07/13/05 15:57
("Dave Smithz" <SPAM FREE WORLD>) decided we needed to hear...
>
> "Dave" <dave@REMOVEbundook.com> wrote in message
> news:23beq2-v8s.ln1@fawlty.homelinux.net...
> >>
> >> For the pages where you change the session settings, you probably also
> >> want to
> >> specify an alternate session.save_path to isolate those session files
> >> from the
> >> rest of the server.
>
> So from all of this, am I right in thinking the best thing to do is use a
> different session.save_path and that will prevent my session information
> being cleared up by the garbage collector and therefore my session dieing
> early problems solved?
>
> Kind regards
>
> Dave
You're actually quoting Andy Hassall's words, not mine.
However, yes its best to change session.save_path so that your session
files are not lumped in with all the other session files on the server,
but that in itself will not stop the garbage collector from doing its
job at the default interval - you must *also* change the
session.gc_maxlifetime and session.cookie_lifetime values as per
previous postings.
--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)
[Back to original message]
|