CookiePro Knowledgebase

dot pattern banner

Knowledgebase Types of Cookies What is a Session Cookie?


What is a Session Cookie?

Last Updated: September 3, 2021

Session cookies expire once you log off or close the browser. They are only stored temporarily and are destroyed after leaving the page. They are also known as transient cookies, non-persistent cookies, or temporary cookies.

If you have to log in to a website every time you open your browser and visit it, then it is using a session cookie to store your login credentials. This is unlike a persistent cookie, which contains an expiration date. Many websites use session cookies for essential site functions. Additionally, they make sure pages are sent to the browser as quickly and efficiently as possible.


How a Session Cookie Works

An example of a session cookie is a shopping cart on most e-commerce or online shopping websites. It stores the products the user has added to their cart. So when the user opens a new page, the products remain in the cart. Without session cookies, a user wouldn’t be able to add multiple items to their cart. Also, the new pages would not recognize a user’s past activities and their cart would always be empty. It is important to note that session cookies are not tracking cookies.

Get Started with CookiePro

Create a Cookie Banner with CookiePro

Create a customizable cookie banner and preference center for visitors to provide consent and opt-in or opt-out of certain categories of tracking on your website.

Get Now
Onetrust All Rights Reserved