What is the different between cookies and session in php?
Answer Posted / shivani modi (msc.cs)
A cookie is a small information that retained on the client
machine, either in rthe browser's application memory or as
a small file written to the user's hard disk.It contains
aname/value pair-
setting a cookies means associating a value with a name and
storing that pairing on the client side..
Getting or reading a cookie means using the name to retrive
the value..
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Define object-oriented methodology?
What does type casting mean in php? Explain with an example?
What is scope of variable in php?
What is a composer in PHP?
What is the use of the function htmlentities?
What are the special characters you need to escape in single-quoted stings?
How to compare two strings with comparison operators in php?
What is beforeRender() used?
What are include() and require() functions?
Can I use php in visual studio?
How to change the principal password?
Tell me what is the use of the function htmlentities?
What is empty () in php?
How to remove leading and trailing spaces from user input values in php?
Is php an array?