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

What are the different data types in javascript?

620


What is php7?

704


What is the difference between implode() and explode() in php?

561


How do I repair phpmyadmin?

599


What are the advantages of oops in php?

631






What is the difference between php and javascript?

651


How do I end a php session?

580


Explain about the $_GET variable of PHP?

653


How to get the number of characters in a string?

653


Do you know what is the use of rand() in php?

610


How to execute a php script from the command line?

644


How to join multiple strings stored in an array into a single string?

604


When are you supposed to use endif to end the conditional statement?

605


What is echo and print in php?

578


How to call a php function from another php file?

578