Cookies are created to identify you when you visit a new website. The contents of a cookie are application-defined, and there are all sorts of ways to use them:

  1. Session management. For example, cookies let websites recognize users and recall their individual login information and preferences
  2. Personalization. You may view certain items or parts of a site, and cookies use this data to help build targeted ads that you might enjoy.
  3. Tracking. Suggestions based on your previous researches.

Demodesk allows you to save your session cookies and leverage it during web demos. For example, automatically log into your website multiple times without having to insert your credentials over and over again.

You can enable cookies in your personal settings (Settings > Personal Profile > Enable "Save session cookies" or click the button below):

However, sometimes it might not work. Here is a short list of some of the possible reasons why your effort failed:

  1. Your website uses localStorage and thus specific to the protocol of that page. Therefore, data stored by a script on a site accessed with HTTP is put in a different localStorage object from the same site accessed with HTTPS.
  2. The cookie is bound to the IP address, device fingerprint, or other non-cookie data that you didn't capture.
  3. The original cookie contains an expiration after a specific time and it has passed.
  4. The cookie is single-use, i.e. the server rotates the value with every request/response and invalidates any cookie value that has already been used.
  5. The cookie was bound to a session that no longer exists on the server (potentially because you logged out).
  6. The cookie is paired with a hidden element within the page (e.g a CSRF token) and you didn't capture or recreate that value.
  7. The web server uses a rules engine to detect suspicious activity, and your spoofed cookie was presented out of sequence or at an unexpected time.
Did this answer your question?