+ 2
PHP Files
I know how PHP files work, but are they erased after the user session, or do they continue to exist?
2 Answers
+ 8
php files are stored in server side and will stay there unless a function in php file erases it.
Only information stored using session functions will be deleted after it ends.
+ 2
PHP files are stored on a server.
The HTML, JS, CSS, images ect..., output from these files will be stored in the browsers cache until such a time that the user clears the cached data.
The PHP file itâs self will not be downloaded to the user unless you have configuration issues on the server.
The user session will clear its self when either the user logs out and you destroy the session or the session expires which is when the server will remove the session file from the /temp folder on the server.