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
What is the meaning of a persistent cookie?
How to remove the new line character from the end of a text line in php?
How is traits used in php?
Tell me what is the use of isset() in php?
What is difference between put and post method in http?
Tell me how do I escape data before storing it into the database?
What is the default time of cookie in php?
How to call javascript function in php on button click?
Is facebook still in php?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
Is there an easy way to delete an element from a php array?
How to check curl is enabled or not in PHP
What are the advantages of stored procedures?
Do you know what are traits?
What are php loops?