Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our website isn't displaying because the C:\Windows\Temp directory can't be written to, because C:\ is now out of space. The reason: tons of sess_230498230493240 [random hash] files. Like, thousands.

php.ini is set to use C:\Windows\Temp for temp session files, but why aren't these being auto-deleted? What's the correct way to handle this?

share|improve this question

I would set up a schedualed task, or use an temporary AppData folder in order to delete temporary php generated files

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.