Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Add period prefix to cookie domain

    So, several weeks after moving to a new server it emerges that there is an issue with logging on a certain small group of Chrome browser / operation system combinations. ( Not all versions of chrome / and just windows 8 ) . I am aware that this is probably an issue with Chrome and the way that it handles cookies.

    Usually, I'd immediately try changing:

    Add period prefix to cookie domain


    Which is set to true at the moment.

    My question really is that on a live store how is that going to effect existing customers? How is that going to effect customers who are actually on-line at the point of change?

    It is a busy store but obviously I can make the change in the early hours of the day and avoid having too many people online. Is that the best way of proceeding?

    Dr Byte, maybe?

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Add period prefix to cookie domain

    Quote Originally Posted by niccol View Post
    My question really is that on a live store how is that going to effect existing customers?
    It will have no effect on them.

    Quote Originally Posted by niccol View Post
    How is that going to effect customers who are actually on-line at the point of change?
    The most likely effect of this will be that they'll suddenly be greeted with a 'session expired' type message and will be required to log in again.
    If the customers aren't logged it, they'll suffer a 'hiccup' and basically lose anything already placed in their cart and will need to re-add them.

    Then there are the unpredictable effects of what could happen if something was being done at exactly the 'wrong' time (such as midway through a paypal payment).

    Quote Originally Posted by niccol View Post
    It is a busy store but obviously I can make the change in the early hours of the day and avoid having too many people online. Is that the best way of proceeding?
    It should only take a few seconds to make the change. My suggestion would be to place the store in maintenance mode for the short time it takes to do this. That way you'll avoid any unpredictable surprises, and it'll be a little less annoying for the customers already on the site.

    Cheers
    Rod.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Add period prefix to cookie domain

    Quote Originally Posted by RodG View Post
    The most likely effect of this will be that they'll suddenly be greeted with a 'session expired' type message and will be required to log in again.
    If the customers aren't logged it, they'll suffer a 'hiccup' and basically lose anything already placed in their cart and will need to re-add them.

    Then there are the unpredictable effects of what could happen if something was being done at exactly the 'wrong' time (such as midway through a paypal payment).
    Since the setting only affects the creation of subsequent cookies (not the enforcement of any matching, since that's all up to the browser), it should have no effect on existing active shoppers. That is, it won't break active working sessions.
    .

    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.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Add period prefix to cookie domain

    Quote Originally Posted by DrByte View Post
    Since the setting only affects the creation of subsequent cookies (not the enforcement of any matching, since that's all up to the browser), it should have no effect on existing active shoppers. That is, it won't break active working sessions.
    Yup, this makes sense. I sit corrected.
    'Tis getting late.. time for a sleep I think.

    Cheers
    Rod

  5. #5
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Add period prefix to cookie domain

    Thanks guys.

    For users coming after on this one. My method was simply to make the change at a less busy time of day, which probably wasn't even necessary, but always feels safer. I didn't use maintenance mode because that just adds confusion to a change that is pretty much instantaneous.

    Results are that we appear to have resolved the issue.

    Interesting that on more investigation later yesterday we were also seeing some issues with IE10 on windows 8. Not all variations of this combination but some.

    Thanks again.

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Add period prefix to cookie domain

    Hi Guys
    Quote Originally Posted by niccol View Post
    Results are that we appear to have resolved the issue.
    Interesting that on more investigation later yesterday we were also seeing some issues with IE10 on windows 8. Not all variations of this combination but some.
    I'm a little curious about this particular issue. It isn't something that any of our customers have ever reported to us, but that doesn't really mean a great deal. I've read similar reports and the same fix from other people, and can't help but wonder, if this is a fix that solves the problem with all browsers, why not make this the default setting?

    Does it have some negative consequences that currently elude me?

    Cheers
    Rod

 

 

Similar Threads

  1. Add period prefix to cookie domain?
    By BlessIsaacola in forum General Questions
    Replies: 8
    Last Post: 25 May 2011, 12:52 AM
  2. change cookie domain name
    By FreeArticlePublishin in forum General Questions
    Replies: 20
    Last Post: 30 Nov 2010, 03:16 AM
  3. add prefix to database
    By balihr in forum General Questions
    Replies: 8
    Last Post: 10 Nov 2009, 12:37 AM
  4. 1.3.5 & 6 - Cookie Domain
    By Website Rob in forum General Questions
    Replies: 9
    Last Post: 6 Nov 2006, 08:38 PM
  5. Replies: 4
    Last Post: 31 Oct 2006, 08:23 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