Where are sessions stored php?



Where are sessions stored php?..

Answer / Pankaj Gupta

Sessions in PHP can be stored on the server side using files (php.ini's session.save_path configuration) or a database (session.save_handler). They can also be saved on the client-side using cookies (session.use_cookies = 1).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Why do we use interface in php?

1 Answers  


How to get no of arguments passed to a PHP Function?

1 Answers  


Tell me how can we connect to a mysql database from a php script?

1 Answers  


What is is_null() in php?

1 Answers  


How to select a database?

1 Answers  


What are the differences between public, private, protected, static, transient, final and volatile?

3 Answers  


How to create the PHP Script to Calculate the Age Using the Inputs Of our Birth date and the Current date?

6 Answers  


When to use inquire vs enquire?

1 Answers  


What are psrs?

1 Answers  


What is meant by pdo in php?

1 Answers  


Is php used anymore?

1 Answers  


Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.

1 Answers  


Categories