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
How to Retrieve the Session ID of the Current Session?
How to create an array from php string?
Is php a programming language?
What is csrf verification?
How do I stop php artisan serve in windows?
Can we use include ("xyz.php") two times in a php page "index.php"?
Differences between get, post and request methods ?
How to reset/destroy a cookie in php?
Explain what are some new features introduced in php7?
How to delete cookie files on your computer?
What are majic methords in php?
What are the file upload settings in configuration file?
What does the array operator '===' means?
What is meant by MIME?
Why do we use interface in php?