What is the different between cookies and session in php?
Answer Posted / deepinder
Cookies
- stored on CLIENT machine
- amount of data to be stored is LIMITED
- it can only store STRINGS
- quite FASTER than a session
Session
- stored on SERVER machine
- amount of data to be stored is NOT LIMITED
- it can store OBJECTS
- quite SLOWER as compared to cookies
| Is This Answer Correct ? | 38 Yes | 2 No |
Post New Answer View All Answers
How many open modes available when a file open in PHP?
What are the popular content management systems (cms) in php?
How cookies are transported from browsers to servers?
How does the identity operator === compare two values?
What are the Advantages and Application Areas of PHP?
What does a delimiter do in mysql?
Can you give example for trait in php?
Explain what are psrs? Choose 1 and briefly describe it?
Tools used for drawing er diagrams?
How can we get ip address of a client in php?
What are the rules to declare a php variables?
What is overloading and overriding in oop?
What is framework in php?
Which is the latest version of php?
Explain object-oriented methodology in php?