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

What are escaping characters? Explain with an example?

741


Write a program to swap two numbers using php.

783


What changes I have to do in php.ini file for file uploading?

790


Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?

674


What difference between require() and require_once()?

824


What is the difference between for and foreach?

820


What are the characteristics of php?

758


Why php language is used?

734


What is htaccess? Why do we use this and where?

735


What is a base url?

729


Is json a string php?

714


What is php? Why it is used?

792


Tell me what does $_env means?

748


What is reference variable php?

751


Where php basically used?

776