Forums / General Questions / Google Chrome browser will not store zenid cookie on local server using IP address

Google Chrome browser will not store zenid cookie on local server using IP address

Started by torvista on 15 Mar 2012, 3:02 PM · Views: 1,749

Results 1 to 2 of 2
15 Mar 2012, 3:02 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,879
Plugin Contributions:
7

Google Chrome browser will not store zenid cookie on local server using IP address

FYI
If you are developing on a local server and so using an address such as 192.168 etc.etc. you may find that

  • the zenid stays in the address as you navigate around the site
  • if you have more than one language in the store it drops back to english on the home page
  • language dependant javascript is always in english,

this is a Chrome-specific issue for local sites.

Supposedly this can be overridden by adding this switch to the executable call but it didn't work for me:
chrome.exe --enable-file-cookies

This is complained about here
http://code.google.com/p/chromium/issues/detail?id=535
http://code.google.com/p/chromium/issues/detail?id=95644
but they have no intention of allowing it.

Hope this saves someone from wasting their time chasing the "problem"!
Stick with Firefox!

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

17 Mar 2012, 2:43 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Google Chrome browser will not store zenid cookie on local server using IP address

Those links that you mentioned, and the idea of enable-file-cookies won't work for Zen Cart .. because Zen Cart doesn't need or use (nor would you want it to) file:// cookies.

A proper workaround to the symptoms you started with is to actually set up a name for your server, instead of using an IP address.

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