Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default what is recreate session

    What does the option recreate session do. My customer login in doesn't work when it is enabled but it is enabled as default. I would imagine it was intended to be used. Does anyone know if it is a security issue if disabled when using ssl?

    Thanks

    TFMegatron

  2. #2
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,930
    Plugin Contributions
    4

    Default Re: what is recreate session

    Yes, it is related to security, Specifically it is meant to limit problems caused by session hijacking.

    Normally when you first visit a zen cart shop a zenid is assigned to you. Sometimes you will see this in your browser url depending on your cookie settings. In the past when you then logged in, you would keep the same zenid.

    This would cause problems if for some reason a url to the site got 'leaked' to the public. Some one else could then 'hijack' your logged in session.

    Session recreate basically generated a brand new zenid, while still remembering your current session (e.g. any items you had in the cart as a guest).

    A numberof people have posted problems with using session recreate, although as yet I have not found a common denominator, although fedora/window servers do tend to crop up a lot.

    The problem is being worked on :)

  3. #3
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: what is recreate session

    I appreciate the response and info.

    Would this be linked to the problem that I have where if a person fills the shopping cart and then leaves the site for some time. When he returns the cart is still full. I imagine this is related?

    Thanks
    TFMegatron

  4. #4
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,930
    Plugin Contributions
    4

    Default Re: what is recreate session

    I doubt it is related, unless the person returns to the site using a bookmark or other link which contains a zenid.

    Otherwise, what happens when a person returns to the site depends upn their login status.

    For example, If I visit a ZC shop as a guest(e.g. not logged in) and put something in the cart. If I then close the browser, and return some time later, then there should beno way that the shop remembers me and I shoudl not return to a cart with anything in it.

    If however I log in and put something in my cart, then close the browser. Then return sometime later, there is a good chance that the cart will still contain my previous details. Whether it does depends on a number of factors.

    The cookie time for a logged in user is set at arround 24 minutes, so strictly speaking if a person returns after that 24 minutes then their session should have expired, and none of their details would be remembered.

    However their is a caveat to that. The garbage collection that clears session cookies can only run if their is a visitor to your site. In other words, it is possible that if no one visits your site for 1 hour or whatever, that original customer can return and still have their original session available.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: what is recreate session

    A numberof people have posted problems with using session recreate, although as yet I have not found a common denominator
    AOL users. If you set Session Recreate to true then AOL users will never be able to keep a session trail on your website. That's down to the proxy caching system that AOL uses and not the fault of Zen Cart.

    Vger

  6. #6
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: what is recreate session

    Thank you again for the info.

    TFMegatron

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 Jan 2012, 07:34 PM
  2. Recreate Session & Shared SSL.
    By gaffettape in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 6 May 2010, 03:13 PM
  3. Recreate Session vs IE8 ?
    By gaffettape in forum General Questions
    Replies: 5
    Last Post: 25 Jan 2010, 06:19 PM
  4. Recreate Session = False?
    By scytheuk in forum General Questions
    Replies: 11
    Last Post: 19 Jan 2010, 06:51 PM
  5. Recreate Session - Same or New Session ID ?
    By DogTags in forum General Questions
    Replies: 2
    Last Post: 6 Aug 2007, 02:09 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