Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2007
    Posts
    159
    Plugin Contributions
    0

    Default Strange session id problem

    I found a strange problem related to the session ID. A customer complained that they could not log into their account. I found that when the session ID exists in the URL, such as when they hit the home page first and then click on Log In, they cannot log into their account. They are just returned to the home page and the nav bar does not display the My Account link.

    Once they get past that point and the session ID is gone from the URL, they can log in.

    If I cannot disable the session ID in the .htacces file, is there any workaround for this?

    Any ideas?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Strange session id problem

    I cannot repeat this problem ...

    What version Zen Cart?

    Clean install or an Upgrade?

    Have you an URL where we can see this actually happen?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Strange session id problem

    ... and are you using an SEO URL mod?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Jan 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Strange session id problem

    I'm using 1.3.8a and it was a clean install.

    Yes, I am using SEO URL.

    It is a strange problem because I don't see how the session ID in the URL would do this.

    http://www.gadgethq.com/

    Perhaps it is related to the cookie, but the session cookie should exist by the time someone hits the login page.

    It does this with both IE and FireFox.

    It you click on a few links before you try to log in, the login works as expected.

  5. #5
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Strange session id problem

    We have had reports of similar problems using one of the SEO mods - If you turn it off is there still a problem?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Jan 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Strange session id problem

    I cannot turn it off right now. It is a live site that is getting tons of Christmas traffic because I've got some hot items and a lot of top positions for product pages in Google.

    Perhaps I can try that at 1 AM or after Christmas.

    Thus far there has been only one customer complaint and I am getting repeat orders. Most repeat customers would probably never notice it because they hit several pages and add items to the cart before checkout.

    It certainly could be related to SEO URL.
    Last edited by Tech-E; 10 Dec 2008 at 01:15 AM.

  7. #7
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Strange session id problem

    For the moment just turn off Recreate Sessions in Admin. Go to Admin > Configuration > Sessions and set Recreate Session to False.

    Regards,
    Christian.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Strange session id problem

    Quote Originally Posted by CJPinder View Post
    For the moment just turn off Recreate Sessions in Admin. Go to Admin > Configuration > Sessions and set Recreate Session to False.
    If you do that, you'll want to pray that neither you nor your customers shares any URLs with a zenid in them ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Strange session id problem

    Quote Originally Posted by DrByte View Post
    If you do that, you'll want to pray that neither you nor your customers shares any URLs with a zenid in them ...
    Very true. I wouldn't suggest it as a long term fix. Just a short term fix until he can try turning off the SEO URL mod and do some trouble shooting.

    Regards,
    Christian.

  10. #10
    Join Date
    Jan 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Strange session id problem

    Thanks for the ideas.

    I'll have to play with this further when I'm up some time in the middle of the night. I've got so much traffic right now that I don't want to risk anything until things quiet down.

    The Christmas rush is the wrong time to experiment.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Strange session issue after customizing the checkout code
    By lpa17 in forum General Questions
    Replies: 0
    Last Post: 11 Apr 2012, 05:23 AM
  2. Strange Problem- Twist of Nature Template or Hosting Problem?
    By xanabobana in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Dec 2010, 10:28 PM
  3. Replies: 11
    Last Post: 25 Oct 2010, 09:52 PM
  4. Session problem?
    By Bikeforce in forum General Questions
    Replies: 1
    Last Post: 16 Feb 2010, 04:49 PM
  5. Session problem
    By verybyte in forum General Questions
    Replies: 0
    Last Post: 31 Mar 2009, 10:52 AM

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