What is the different between cookies and session in php?

Answer Posted / sudheer

Both are stoarage purpose but session is server side &
cookie is client side.
in cooke omly data will store but in sessions objects as
well as data stored.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is empty function c++?

508


How to increase the execution time of a PHP script?

519


Explain me is multiple inheritance supported in php?

522


How do you parse and process html/xml in php?

541


What is the difference between single-quoted and double-quoted strings in php?

530






How to delete cookie files on your computer?

543


What is a static method php?

510


How many keywords are there in php?

612


Does cors prevent csrf?

522


Tell me what is needed to be able to use image function?

536


What is get method in java?

521


What does $this do in php?

520


What is use of in_array() function in php?

535


What is a PHP accelerator?

583


How to set cookies in PHP?

593