1.Where are the sessions storing ?
2.What are the contents of a session file ?
3.If the server is loaded with too many session files there
is a possibility of server crash. How can we solve this
issue?
4. How does php server identify that the particular session
belongs to particular user ? For ex: If two users A and B
logged from different machine, separate session files (say
1 and 2) will be created in the server. But how the php
knows that 1 belongs to A and 2 belongs to B ?

Answer Posted / binoyav

1. In PHP server under session_save_path
2. The file contains the session name and data type of the
value, length and session value separated with | and :

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php a programming language?

552


Explain the visibility of the property or method?

573


Which is the best php framework for a beginner?

529


What does the scope of variables means?

586


How do I stop php artisan serve in windows?

502






Why laravel is the best php framework in 2019?

520


List some features of php that are deprecated in php7?

473


How to turn on the session support in php?

532


Does session expire on closing browser?

491


What is polymorphism in oop php?

512


How would you declare a function that receives one parameter name hello?

521


What is session in php why it is use?

490


What is php call function?

504


What is difference between Method overriding and overloading in PHP?

546


How a constant is defined in a php script?

570