Describe the difference between session cookies and persistent cookies.

  • Persistent cookies are often used for user authentication
  • Persistent cookies are temporary and expire after the browser is closed
  • Session cookies are stored permanently on the client-side
  • Session cookies expire after a specified time
Session cookies are temporary and expire when the browser is closed, while persistent cookies are stored on the client-side for a longer duration, typically with an expiration date set by the server.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *