Forums / General Questions / Add period prefix to cookie domain

Add period prefix to cookie domain

Views: 778

Results 1 to 6 of 6
16 Aug 2013, 2:06 PM
#1
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

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?

Nick
iszent.com

16 Aug 2013, 2:29 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Add period prefix to cookie domain

niccol:

My question really is that on a live store how is that going to effect existing customers?

It will have no effect on them.

niccol:

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).

niccol:

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.

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

16 Aug 2013, 2:52 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Add period prefix to cookie domain

RodG:

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.

16 Aug 2013, 3:07 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Add period prefix to cookie domain

DrByte:

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

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

17 Aug 2013, 6:58 AM
#5
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

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.

Nick
iszent.com

17 Aug 2013, 7:26 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Add period prefix to cookie domain

Hi Guys

niccol:

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

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.