What is the different between cookies and session in php?
Answer Posted / sekhar
both are used for session tracking.
but there is some difference between these two.
cookies are stored in client side (not secured)
sessions are stored in server side (secured)
| Is This Answer Correct ? | 59 Yes | 1 No |
Post New Answer View All Answers
What is oops php?
Why php is used with mysql?
Which will start a session?
What type of operation is needed when passing values through a form or an url?
Explain do you use composer? If yes, what benefits have you found in it?
How do you destroy a particular or all Sessions?
Explain about switch statement in PHP?
How would you open a directory for reading in php?
Explain me what is the meaning of a persistent cookie?
What is __ invoke in php?
What is the meaning of ‘escaping to php’?
What are the functions of string?
How to randomly retrieve a value from an array?
What is cURL in PHP?
Tell me how the result set of mysql be handled in php?