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
How to update memcached when you make changes to php?
What is xss in php?
How to register a variable in PHP session?
What is interface? Why it is used?
What is the difference between session_unregister() and session_unset()?
Is php free to use?
What is the different between count() and sizeof() in php?
Do I need apache for php?
What is php constructor?
How to include a file code in different files in php?
What is the function file_get_contents() usefull for?
How do you execute a php script from the command line?
What is the best way to test the strpos() return value in php?
How escape single quotes php?
Explain about objects in PHP?