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

How to update memcached when you make changes to php?

538


What is xss in php?

561


How to register a variable in PHP session?

526


What is interface? Why it is used?

540


What is the difference between session_unregister() and session_unset()?

575






Is php free to use?

536


What is the different between count() and sizeof() in php?

516


Do I need apache for php?

617


What is php constructor?

538


How to include a file code in different files in php?

510


What is the function file_get_contents() usefull for?

521


How do you execute a php script from the command line?

525


What is the best way to test the strpos() return value in php?

532


How escape single quotes php?

484


Explain about objects in PHP?

573