Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    59
    Plugin Contributions
    0

    Default Login and Logout Issues

    Sometimes when viewing pages on my company's website, we get logged out when clicking certain links or buttons.

    For instance, if someone were to click Continue Shopping from their shopping cart, it would send them back to our home index (which is fine) but it would also log them out at the same time. This is where the problem lies.

    This also occurs when some products are clicked directly from our drop-down navigation. Any ideas?

    Thanks again for your time and effort.

    Jonah Youngblood
    PrimeVapor LLC
    http://www.primevapor.com
    [email protected]

  2. #2
    Join Date
    Apr 2010
    Posts
    59
    Plugin Contributions
    0

    Default Re: Login and Logout Issues

    Update to new errors:


    All of the links in the top header of Zen's stock version, like
    'Home' ,'Shopping Cart' ,'Checkout' ,'My Account', retain the login throughout the pages. However, whenever someone clicks any other linkage from the website, it logs them out and takes them to that page.

    Perhaps that's a bit more exact report.

    Thanks again!

  3. #3
    Join Date
    Apr 2010
    Posts
    59
    Plugin Contributions
    0

    Default Re: Login and Logout Issues

    Issue Solved -

    When on an SSL site, one must ensure that the source destination for the linkage is NOT set to https. Your images will need to be https, but not your referenced link.

    So, this is an example of what I had before for my buttons,

    <a href="https://www.primevapor.com/index.php?main_page=product_info&cPath=6_14&products_id=23">Flavor of the Month</a>

    If you had this in there, it would have sent you to the page but logged you out. If you take the s of https, then it will retain your login throughout the site. I changed all my nav links to this and it now works fine.

    Correct Format:
    <a href="http://www.primevapor.com/index.php?main_page=product_info&cPath=6_14&products_id=23">Flavor of the Month</a>

  4. #4
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Login and Logout Issues

    I can confirm for you that you shouldn't be experiencing this problem.

    Once logged into the customer's account, that customer should be able to navigate around Zencart pages without being logged out. This includes using manually entered links in your html such as "go here to see a similar product" type links in your product descriptions. (Be sure to use relative links, not absolute links (eg" /index.php?main_page=product_info&cPath=112_114&products_id=303 and not http://www.mywebsite.com//index.php?...roducts_id=303).

    If the customer arrives by an external link that customer will not be logged in until he/she chooses to log in.

    If you have links that take the customer outside the Zencart pages you might consider adding target="_blank" to the href statement so that the link opens in a new window leaving the original Zencart page open. When the customer closes the external page the Zencart page will still be open and logged in.
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

 

 

Similar Threads

  1. How to Display Login/logout and My Account?
    By johnwey in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Apr 2010, 11:26 AM
  2. Login and Logout pages- WORK but BLANK
    By Naregnemyes in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Jul 2009, 02:43 AM
  3. Login and Logout
    By Happyworker in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Oct 2006, 08:55 AM
  4. Login And Logout Issue With Ssl
    By virtue in forum General Questions
    Replies: 22
    Last Post: 6 Jun 2006, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg