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 / mahesh
#1) Session serv path / session ina file
#4) When A user login in one system and in perticular
browser means, session id set for A user with browser type
and system ip address. similarly B user had separate id. So
system wont get confused.
If A user get logged in the one browser at one system means,
A user cant log in with another username in same browser in
same same system. Because first username is already logged
in... You can logged in different browser in same system.
If you had doubt means try it..
#3) There is no relation between server crash and session
files upload. Session will timed out according to session
time set.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
Write a program using while loop in php?
what does this symbol mean in php?
Tell me can you extend a final defined class?
What is default session time and path in PHP. How to change it?
What is the use of mysql_fetch_array in php?
How to make a class in php?
What is a session in php?
Tell me what sized websites have you worked on in the past?
Why session timeout is important?
What is the meaning of symbol '$' in jquery?
Explain the three different kinds of Arrays?
What is $_ request?
What is the difference between Split and Explode in PHP?
What is the use of inner join in mysql?