[Pmwiki-users] PHP Sessions / Cookies / Authentication / Cache

Steven Leite steven_leite
Fri Jun 25 13:14:12 CDT 2004



On Friday, June 25, 2004 9:41 AM [GMT+1=CET],
Patrick R. Michaud <pmichaud at pobox.com> wrote:

> cookies.  In retrospect I might've tried creating a separate
> session_save directory, but the problems with sessions had already
> cost me many hours of effort and so I decided to not mess with them
> at all.

That's not a bad idea.  It also mentions in the PHP Documentation that
if you do create separate directories, then you need to write your own
"clean-up" script, as PHP won't do it.  So I think that might be the
trick right there.

Incidently, the  session.save_path is also settable via any .php script,
so there's no need to mess with the php.ini.

ini_set(session.save_path, $PmWikiDir/sessions);

-Steven




More information about the pmwiki-users mailing list