What is the different between cookies and session in php?

Answer Posted / deepak nagar

session is always use to maintain the state b/w browser and
the WEB server, HTTP is stateless which doesnt know about
the users,session is powerfull enemy of ststeless..
Cookie stored a client end and this is the queation pn the
security...

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you execute php script from the command line?

737


What is the use of htmlentities in php?

696


What does mvc stand for and what does each component do?

749


What is static method php?

737


What is the use of is_array() and in_array()?

769


What is psr in php?

806


What is meant by pear in php? What is the purpose of it?

710


How to check your php installation?

729


What are php strings?

724


Which function(s) in PHP computes the difference of arrays?

775


What is the use of post in php?

708


What are traits?

964


Tell me how do I escape data before storing it into the database?

752


Is php a web server?

759


Explain the difference between mysql_connect and mysql_pconnect?

697