What is cookie and session in php?
Answer / Chandan Gupta
In PHP, cookies are small pieces of data stored on the client's computer by the web browser, while sessions are a method to store and maintain user data on the server. Cookies have limitations regarding size and security compared to sessions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is use of isset function in php?
What is filter_var?
How to find a specific value in an array?
What is static variable in php?
What’s the special meaning of __sleep and __wakeup?
How to display your correct URL of the current web page?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
How can you retrieve a cookie value?
What is meant by nl2br()?
Explain the difference between static and dynamic websites?
Which is correct about mysqli and pdo?
How do I use isdigit function?