|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-23 14:53 UTC] jalal at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
<? $LIFE = get_cfg_var("session.gc_maxlifetime"); session_start(); echo '-'.$LIFE.'-'; echo '<br><br>'; phpinfo(); ?> This sample script shows that get_cfg_var doesn't return anything into $LIFE. At the top of the page, the two '-'s are right next to each other. In general, sessions work on my machine. I'm running: Apache 1.3.6 Linux 2.2.5 PHP 4.0.0 PHP Configuration: ./configure --with-apxs=/usr/sbin/apxs --with-mysql --enable-ftp --enable-track-vars I can't find a php.ini file on my system. I haven't tried any other configuration variables other than session.gc_maxlifetime. Mark Lubratt