|
Posted by Mustafa Yalcin Acikyildiz on 11/24/36 11:28
your problem it is result from php bug..
i found this comments in the php.ini file.
If you are using the subdirectory option for storing session files
(see session.save_path above), then garbage collection does *not*
happen automatically. You will need to do your own garbage
collection through a shell script, cron entry, or some other method.
For example, the following script would is the equivalent of
setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
cd /path/to/sessions; find -cmin +24 | xargs rm
PHP 4.2 and less have an undocumented feature/bug that allows you to
to initialize a session variable in the global scope, albeit
register_globals
is disabled. PHP 4.3 and later will warn you, if this feature is
used.
You can disable the feature and the warning separately. At this time,
the warning is only displayed, if bug_compat_42 is enabled.
session.bug_compat_42 = 1
session.bug_compat_warn = 1
---or---
Define the probability that the 'garbage collection' process is
started
on every session initialization.
The probability is calculated by using gc_probability/gc_divisor,
e.g. 1/100 means there is a 1% chance that the GC process starts
on each request.
session.gc_probability = 1
session.gc_divisor = 100
(i know, my english level is so bad. sorry for this. :P)
Navigation:
[Reply to this message]
|