Where sessions stored in PHP?



Where sessions stored in PHP?..

Answer / Chetan Anand

By default, sessions in PHP are stored on the server-side using files. The session data is saved in a file within the php_session directory of your web server root (usually /tmp or /var/lib/php/sessions). However, you can also configure PHP to store sessions in a database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the use of namespace in php?

1 Answers  


what is the default session expire time in php? what is default file attachment size in mail in php?

3 Answers  


Explain Type hinting in PHP?

1 Answers  


What is the main difference between require() and include()?

1 Answers  


Why php is used with mysql?

1 Answers  


how to extract month from given date by using string functions?

3 Answers  


Why ide is recommended for use while programming with php?

1 Answers  


how can i get USA time using php...

1 Answers  


What are the differences between GET and POST methods in form submitting?

1 Answers  


Write a program to get second highest number in an array using php?

1 Answers  


Explain the differences between get and post methods?

1 Answers  


WWhat is the functionality of md5 function in PHP?

7 Answers   Tech Mahindra,


Categories