hammershell Posted November 17, 2009 Share Posted November 17, 2009 Do customers just become logged out on leaving the store? They do stay logged in with the sid when using store links though. Can't a customer just use the store domain name and stay logged in with that? Also, I want a customer to be able to link directly to a product page or pass a link along from it without haveing to rely on the mail to friend feature. Thanks Link to comment Share on other sites More sharing options...
MrPhil Posted November 17, 2009 Share Posted November 17, 2009 When logged in to a store, the customer is assigned a unique session ID. This ID is either passed from page to page in the URL, or (a better way) in a cookie. Once the customer leaves osC (goes to a page without the session function calls), normally the session is canceled and their cart lost. A session cookie might be configured to stay alive for a longer period (say, as long as the browser isn't closed), but offhand I don't know how to do that. Don't reuse URL session IDs by bookmarking them or passing them around. If two people are online at the same time with the same ID, I think they'll be sharing the same cart! It's fine to link directly to a page, but be sure to clean out any URL session ID that's in the URL. If this doesn't answer your questions, could you please give some examples of exactly what you're trying to accomplish? Link to comment Share on other sites More sharing options...
hammershell Posted November 20, 2009 Author Share Posted November 20, 2009 When logged in to a store, the customer is assigned a unique session ID. This ID is either passed from page to page in the URL, or (a better way) in a cookie. Once the customer leaves osC (goes to a page without the session function calls), normally the session is canceled and their cart lost. A session cookie might be configured to stay alive for a longer period (say, as long as the browser isn't closed), but offhand I don't know how to do that. Don't reuse URL session IDs by bookmarking them or passing them around. If two people are online at the same time with the same ID, I think they'll be sharing the same cart! It's fine to link directly to a page, but be sure to clean out any URL session ID that's in the URL. If this doesn't answer your questions, could you please give some examples of exactly what you're trying to accomplish? thanks for the reply. I just got rid of the http: in my configure files for COOKIE settings and that got rid of the sid address code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.