PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I used the SESSION way.
I opened a new folder to keep the session_id logs, and it worked OK, beside that big problem.
the logs don't get deleted after I leave the site.
Is it beacuse I have changed the directory where the logs kept in, now I need to do the deleting all by myself?
How it can be done?
I'd recommend using XHTML to determine this. I believe Burrito has a tutorial here detailing how to do it. It’s by far the most accurate way to determine how many users are on your site.
I have changed the path. would it still clean the garbage from the folder that in the new path?
3 people visited the page I'm working on
so I have 3 different session_id files in the new folder, they look like this one:
sess_417da72b6460593426590c583cfba71
if you had read how the two configuration values worked, you would know they determine when a garbage collection will happen cleaning up old session files...
"when" what about "where" ?
besides.. I have problem configure the lifetime of my SESSION, it seems that my server prevent me from changing the php configuration.
I don't have access to the php.ini on my server, so I tried use the .htaccess, I tried this line: