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 do you sort an array in php?
How is it possible to return a value from a function?
Which one is best framework for php?
How to set a value in session? How to remove data from a session?
What software is required to run php?
How to include variables in double-quoted strings?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
When use javascript vs php?
Explain what does $_server means?
What is difference between post and put in rest?
What is the use of array_search() in php?
What is php form validation?
Explain briefly about a search-friendly site looks like?
Is php session id unique?
Explain me how failures in execution are handled with include() and require() functions?