Print Page | Close Window

Delete Cookie When Leaving Site

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1039
Printed Date: 21-April-2025 at 12:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Delete Cookie When Leaving Site
Posted By: Jackalope
Subject: Delete Cookie When Leaving Site
Date Posted: 22-August-2007 at 11:27pm

I just realized that if you have an ssl certificate installed on your site and are logged in (which displays the lock icon), when you leave the site without logging out and return to the site, you are still logged in BUT no lock icon is displayed. The lock icon will come back when you try and checkout, but shouldn't it be there if the cusomer is logged in at all? When a customer leaves the site, is there a way to delete the cookie that tells the site the customer is logged in, so the next time they return they will have to login again?

Thanks in advance




Replies:
Posted By: netprofits
Date Posted: 23-August-2007 at 7:41am

Product Cart uses Sessions and doesn't store a cookie. When the session expires, the user is logged out. If they just navigate away from the page and come back the session doesn't automatically expire. If they close their browser window altogether that will usually end the session unless they have multiple browser windows or tabs open in which case the browser will usually still retain the session.

The lock icon is displayed when the user has HTTPS at the beginning of their URL. In Product Cart, SSL is not enforced until either the beginning of the checkout process or the payment page (depending on the setting in your control panel). There is no real need to use SSL until that point just because a user is logged in.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Jackalope
Date Posted: 23-August-2007 at 1:45pm
Thanks for the clarification NetProfits. I wasn't exactly sure how to explain it to one of the people we have beta testing our site.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net