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
What is php how it works?
How to create a session? How to remove data from a session?
What's the difference between using mysql_ functions and pdo?
What is use of preg_replace in php?
What is the capacity of mysql database?
What is variable declaration?
Which is better mysql or sql?
Applications written to provide a GUI shell for Unix and Linux are called
What are major variables in research?
What is list function with their uses.
Tell me how can we check the value of a given variable is alphanumeric?
How we can declare variable in php?
Difference between array_combine and array_merge?
Tell me what is the use of "enctype" attribute in a html form?
When to use self over $this?