®Magento Tutorials

Magento2 Customer Session Lifetime

Buy useful prestashop addons magento extensions for online stores

We have extensions in various categories to provide extra features at a reasonable price and the best quality.The modules help to get extra features in online stores and work with all versions. Helps to enhance the performance of the store in different categories like SEO, Security, Analytics, Sales, Social Media, Administration, Marketing, Advertisements, Promotions, etc

BUY USEFUL PRESTASHOP ADDONS MAGENTO EXTENSIONS FOR ONLINE STORES

http://www.presta-addons-modules.com/en/


LIST OF PRESTASHOP MODULES


LIST OF MAGENTO MODULES

The lifetime of a customer shopping session is determined by several factors, including the length of the server session, the use of a persistent cart, and the lifetime of information that is stored in the browser. Although these are related to the same customer experience, they are actually separate processes with different expiration events and lifetimes.

SessionInformation that is stored on the server, such as the contents of the shopping cart. If the server session expires before the cookie expires, customers might lose the cart contents and reduce security risk.
Session CookieInformation that is stored in the browser as a number or string of characters. If the session cookie expires before the server session, the customer is logged out. The session cookie is deleted when the customer closes the browser window. By default, the cookie lifetime is set to 3600 seconds or one hour. If there is no keyboard activity during that time, the current session ends, and customers must log back into their accounts to continue shopping.

If Persistent Cart is enabled, the cart contents are saved for the next time customers sign into their accounts. When using a persistent cart, it is recommended that you set the lifetime of the server session and the session cookie for a long period of time.

On the server, the length of the session is controlled by, and several variables. At this time, Magento does not have an Admin configuration setting that controls the length of the server session.

  1. On the Admin sidebar, go to Stores > Settings > Configuration.
  2. If you have multiple stores, set the Store View chooser in the upper-right corner to the store where the configuration applies.
  3. In the panel on the left under General, choose Web.
  4. Expand the Default Cookie Settings section.

    config general web default cookie settings - Magento2 Customer Session Lifetime Default Cookie Settings

  5. To change the default, clear the Use system value checkbox and enter the new value in seconds.
  6. Click Save Config.

About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →