hello,
i dont know why but usually i put this in every projects config:
ini_set("session.save_handler", "files");
ini_set("session.save_path", "MY_SESS_DIR");
i noticed that PHP is generating lots of session files in MY_SESS_DIR but it is not removing them. after awhile there are 30.000 files and you can imagine what happens.
my questions:
1) should PHP delete these files? should i do a script which is deleting them?
2) do i have to change session.save_path at all? if i dont set it, where will the files be created? in /tmp? will PHP take care and delete files there? i dont want whole server to die when there will be 30k+ files in one directory.
any other advice how to deal with these session files?
please CC: to my email. looks like phpbuilder doesnt have that option anymore -> send answers to email.
Matjaz