The last person gave you a way to do it without using php.ini Re-read
the reply.
1) you can create a timestamp column last_access in your USERS table
2) every time that user hits a page, you need to update that column
3) every time the user asks for a new page, see if the last access is less
Hi Andrey,
is there no way to control the lifetime without modifiying the php.ini? I am
not on my own server. The ISP controles this file.
Would you suggest to go for a self made session?
Andy
"Andrey Hristov" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
027901c1c91d$cce57970$0b01a8c0@ANDreY">ne
PHP4 sessions or self made sessions. If PHP4 there is an option in php.ini to set
about how frequently the GC(garbage collector)
will be started. Otherwise if self made and using a DB for backend - add new field
last_time , and on every page request do "Delete
from session_table where last_time
3 matches
Mail list logo