[phplib-users] Typo is session4.inc
Brought to you by:
nhruby,
richardarcher
From: Lindsay H. <fmo...@fm...> - 2006-12-19 20:41:08
|
In the process of trying to get my head around rewriting the session4 url method, I came on the following typo in session4.inc. Perhaps this has already been fixed in CVS. --- session4.inc 2005-12-06 18:55:50.000000000 -0600 +++ session4.inc.fixed 2006-12-19 14:31:22.000000000 -0600 @@ -162,7 +162,7 @@ if ( $this->mode=="cookie" && $this->fallback_mode=="cookie") { - ini_set ("session.use_only_cookie","1"); + ini_set ("session.use_only_cookies","1"); } $this->set_tokenname(); The correct name for the php.ini variable is "session.use_only_cookies" (w. the English plural 'cookies'). -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com> http://www.fmp.com | dandelions" | | (Pamela Jones) | |