What is the different between cookies and session in php?

Answer Posted / ritu

Cookies is an object but session is a process
cookie is an identifier stored on client.session is used
for storing data on the server between client requests.
cookies are stored in client mechine.session are stored in
server mechine

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some of the php string functions?

507


What is the function in PHP do not return a timestamp?

550


Tell me how to get the value of current session id?

489


Is php an api?

509


What is the function of mysql_real_escape_string in php?

457






Can I use php in visual studio?

514


What does the unset() function mean?

544


What is php oops concepts?

507


Why php is widely used?

526


What types of MYSQL function available for affecting columns

525


Tell me what is pear?

530


How to select a database in php?

554


What is escape data in php?

511


In how many ways we can retrieve the data in the result set of mysql using php?

472


How to create a web form?

522