Shop pages don't show signed-in status

General ShopSite user discussion

Shop pages don't show signed-in status

Postby lindemhna » Mon Aug 25, 2008 10:31 am

Hello everyone,
I ran into some strange problems with Shopsite 8.3 Pro and hope someone can help me out.

I set up a store with the possibility of customer registration. There are two links on the top of the page that say "Register or Sign In". If I sign in with a test account it shows me the "View/Edit Account" Button on the shopping cart page and the account pages but not on the home page or the product pages. There it still says "Register or Sign In". I tried the templates, the Custom Template Tag and the Javascript from the documentation. They all do the same.

Now, my webhost set up Shopsite to have different domains for the different parts of the site. So, the homepage of the shop and the pages are located at mydomain.com but the shopping cart and account information is located at shopsite.webhoster.com (names changed, obviously). I assume the problem stems from this fact. Unfortunately, the webhoster's support department couldn't help me out.

The problem may be that the cookie that's created for the other domain, doesn't work with the homepage's domain. Or maybe not. Anyway, I hope someone here can help me out.

Thanks in advance for any suggestions!
lindemhna
 
Posts: 2
Joined: Mon Aug 25, 2008 8:45 am

Postby Jim » Mon Aug 25, 2008 10:56 am

Customer registration information is kept in a cookie.
Cookies set by one domain can't be read by a different domain.

So if your Registration url is not the same domain name as your store pages you will not be able to have the Register/Sign In change on the store pages because it doesn't know the shopper has signed in.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby lindemhna » Mon Aug 25, 2008 12:31 pm

Thank you. Just what I thought. Is there a solution to this problem? Or is it just impossible to do?
lindemhna
 
Posts: 2
Joined: Mon Aug 25, 2008 8:45 am

Postby Jim » Mon Aug 25, 2008 12:58 pm

The only solution is to have a secure certificate for your domain name and to have the cgi's that do the registration at that secure url. This is not possible with some of the lower end hosting companies since they are not set up to allow that type of hosting.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 58 guests