Barry Von Ahsen on Wed, 07 Jul 2004 16:24:06 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Cialug] FreeBSD php session not timing out


hmm, session_set_cookie_params() seems to have fixed it. now to figure out why the php.ini cookie settings are acting differently.

-barry


Barry Von Ahsen wrote:


dev server: Mandrake 9.1, Apache-AdvancedExtranetServer/2.0.47, and PHP
4.3.1
live server: 4.9-RELEASE FreeBSD, Apache/1.3.28 (Unix), and PHP 4.3.7

the code works great on the dev server and the live server, and the dev
server times out after 1440 seconds (gc_maxlifetime), but the live
doesn't (I'm checking 180 minutes (cache_expire) now). all site files
and the entire php.ini have been copied from the dev server, and all of
the values are the defaults. phpinfo() on both machines is the same in
the important areas, the only differences being that under session, the
live server shows session.gc_divisor while the dev server shows
session.gc_dividend (both set to 100, aparently this variable changed between 4.3.1 and 4.3.2). the live server shows session.gc_dividend in php.ini, and I've ensured that the server is looking at the file I'm looking at. the dev server also shows php-msession module installed, while the live server doesn't. nothing is set in .htaccess or httpd.conf. I'm tring to reset the values in the script now.


anywhere else I should look?

-barry



_______________________________________________
Cialug mailing list
Cialug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/cialug


_______________________________________________
Cialug mailing list
Cialug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/cialug