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


Groups > comp.lang.javascript > #21249

Re: Write variables to file?

From Richard Maher <maher_rjSPAMLESS@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: Write variables to file?
Date 2013-09-10 18:42 +0800
Organization Aioe.org NNTP Server
Message-ID <l0mt1t$f7g$1@speranza.aioe.org> (permalink)
References <8eqdnQgNPt5ncrPPnZ2dnUVZ5hSdnZ2d@giganews.com>

Show all headers | View raw


On 9/10/2013 6:10 PM, 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.
>
> Is this possible??  This is probably a dumb question, but I
> wanted to ask anyways since I'm pretty much a Javascript
> newbie.
>
> Thanks!
>
>
HTML5 WebStorage may fit the bill?
Eg: - http://www.html5rocks.com/en/features/storage

Seems to be on by default in most browsers but I turn it off so that 
newspapers stop asking me to pay :-)

(Yes, private/incognito sessions are better but FWIW good-luck.)

Cheers Richard Maher

PS. I think you may be looking for a signed Applet here but I'm being 
trolled so much lately I don't care to defend the idea. (But I strongly 
suggest that you consider it!)

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