Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a file for storage on the client side with JavaScript?

I need to create a temporary file to store user settings on the client side. Is it possible to create a simple log file using JavaScript?

like image 573
GajendraSinghParihar Avatar asked Oct 16 '10 18:10

GajendraSinghParihar


1 Answers

You have a few options:

  • Cookies
  • localStorage
  • database

Check this link:

  • HTML5: Client-side Storage

Creating a file is possible only in IE using ActiveX objects.

like image 177
BrunoLM Avatar answered Sep 28 '22 02:09

BrunoLM