[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Google Chrome won't accept local file cookies

Posted on 2013-01-31
3
Medium Priority
?
2,260 Views
Last Modified: 2013-01-31
I'm trying to get Google Chrome on my Win7 computer to accept and read local file cookies for HTML pages on my hard disk.

I have so far been unsuccessful at getting Chrome to work properly with either the "--allow-file-access-from-files" option or the "--enable-file-cookies".

I right-click on the Chrome icon, choose properties, and then modify the target to add the command-line option to the end (after a space):

C:\Users\Tim\AppData\Local\Google\Chrome\Application\chrome.exe --enable-file-cookies

Save the shortcut, close all browsers, then open Chrome with this shortcut and paste in the local C:\DocDir\index.htm file in the URL window and the cookies are not saved.

Any ideas what I'm doing wrong?  Or did Google remove this option?
0
Comment
Question by:Tim Titus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 38842115
This document from Google http://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_cookies shows in the chart that Chrome does not support cookies for file URLs.  The probability is that other browsers will follow suit after a while because security restrictions just keep getting tighter.
0
 

Author Closing Comment

by:Tim Titus
ID: 38842124
Well described, good article presented.
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 38842144
Thanks and thanks for the points.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question