Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21248

Re: Write variables to file?

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Write variables to file?
Date 2013-09-10 10:24 +0000
Organization A noiseless patient Spider
Message-ID <l0ms11$5c1$1@dont-email.me> (permalink)
References <8eqdnQgNPt5ncrPPnZ2dnUVZ5hSdnZ2d@giganews.com>

Show all headers | View raw


On Tue, 10 Sep 2013 03:10:02 -0700, Robert Crandal wrote:

> Can I use Javascript to write data into a text file on the client
> machine?  I tried experiement with cookie objects, but this didn't
> produce the results that I wanted.
> 
> My webpage will display a form with text fields.  The user will type in
> data.  I then want to save this data somehow on the client machine.

You can save it as a cookie on the client machine, but not as a normal 
file.

This means that access to the data on the client machine has to be done 
either through, or with knowledge of, the browser's cookie storing 
methods.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Write variables to file? "Robert Crandal" <rcranz143101@gmail.com> - 2013-09-10 03:10 -0700
  Re: Write variables to file? Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-10 10:24 +0000
  Re: Write variables to file? Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-10 18:42 +0800
  Re: Write variables to file? Martin Honnen <mahotrash@yahoo.de> - 2013-09-10 12:45 +0200
  Re: Write variables to file? JJ <duh@nah.meh> - 2013-09-10 18:13 +0700
    Re: Write variables to file? Ken <usenet-so@abdiassoftware.com> - 2013-09-10 12:15 -0500
    Re: Write variables to file? dhtml <dhtmlkitchen@gmail.com> - 2013-09-30 00:44 -0700
  Re: Write variables to file? Ken <usenet-so@abdiassoftware.com> - 2013-09-10 12:31 -0500

csiph-web