top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is Garbage Collection in PHP?

+1 vote
48 views
What is Garbage Collection in PHP?
posted May 20, 2014 by Sachin Dahda

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

Garbage Collection is automated Part of PHP. It analyzes any files in /tmp folder for any session files that have not been accessed in certain amount of time and physically deletes them. Garbage collection only runs in the default session directory (/tmp). It will ignore , if session is saved in different directory.

answer May 21, 2014 by Mohit Sharma
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...