Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can custmers stay logged in by linking domain name only?


hammershell

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...