Hi,
This is what is probably a newbie session problem.
I've been having some trouble with sessions on php 4.0.6, I'm developing
a website in which I don't have direct control over the server. Due to
some other problems I created a test counter script to try to narrow
down where the problem resides but no I'm sort of stuck.
Here is the small counter script.
session_start();
print_r($HTTP_SESSION_VARS);
if (!session_is_registered('count2345')) {
$GLOBALS['count2345'] = 0;
echo "create count<br>";
session_register('count2345');
} else {
$count2345++;
}
echo "<br>";
echo session_id();
session_write_close();
When I refresh it will periodically loose the count2345 session variable
and recreate the variable. At times it will also jump in value.
Here are also the php configuration session settings.
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
Here is also the compile configuration which includes --enable-trans-sid
�'./configure' '--disable-pear' '--enable-ftp'
'--with-sybase-ct=/usr/local/freetds' '--enable-trans-sid'
'--enable-force-cgi-redirect'
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php