ID:               3793
 Comment by:       prak_ask at hotpop dot com
 Reported By:      kori_mail at hotmail dot com
 Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows 98
 PHP Version:      4 .1.2
 New Comment:

i have a problem i am unable to set the session life time 2 based on
conditions session.gc_maxlifetime to 3600 and session.gc_maxlifetime to
1800 in the ini_set.

But i was able to set it through .htaccess file to one time only. any
body can help. I am running winXP php 4.3.2 runs as module.


Previous Comments:
------------------------------------------------------------------------

[2003-06-20 13:00:33] omar at perio dot unlp dot edu dot ar

I have the same problem that you, but in linux(Red Hat) and I am sure
that he is bug so that in previous versions walked well, script,
somebody can give a hand me?



it excuses by my ingles

------------------------------------------------------------------------

[2002-12-11 10:13:43] dcolomvakos at arsystemsweb dot com

I experienced this problem with session_destroy() running PHP 4.2.3 on
Windows 2000 Server SP3 and IIS 5.0.



The issue was indeed FAT vs NTFS, but not just because of the file
system, but because I had not given my INET_computername account MODIFY
access to the sessiondata directory.  



This is documented on php.net, however I somehow missed it when I first
assigned permissions to the sessiondata directory (I initally put only 
Read & Execute, List, Write and Read)

------------------------------------------------------------------------

[2002-10-01 04:08:03] corneliu dot galev at cefin dot com

I did some testing as Mike did ([31 31 Mar 3:49am] [EMAIL PROTECTED])
and I try to see what is the exact value to be set for gc_maxlifetime
to work in my sistem.



BTW I use win2000+iis5+php4.2.2.



I was very surprised to see that value 37000 worked for a period of
time but later the minimum was 38000 and so on.

So it's something related to sistem time not files(to be considered
garbage) In fact garbage control in windows work like this:



at gc_maxlifetime seconds from midnight all other session files are
deleted - definitly a bug.



Corneliu

------------------------------------------------------------------------

[2002-08-16 21:32:13] [EMAIL PROTECTED]

The fact that the filebased session handler needs a filesystem with
atime support has now been documented.

------------------------------------------------------------------------

[2002-08-16 21:03:38] [EMAIL PROTECTED]

I really don't see anybody with any interest in writing code to make
this work on FAT filesystems.  Don't run web servers on crap
filesystems.  If you do, write your own session handler.  Same goes for
filesystems where file modification timestamps are ignored.  Write your
own session handler and manage the garbage collection yourself.  We'll
need to document this, of course, so marking this as a documentation
problem.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/3793

-- 
Edit this bug report at http://bugs.php.net/?id=3793&edit=1

Reply via email to