Click to See Complete Forum and Search --> : Write to file with JavaScript


Tricky123
12-03-2002, 12:23 PM
All,

Can JavaScript be used to write data such as HTML form input to an external text file?

If so HOW?

TIA

Tricky

gil davis
12-03-2002, 01:09 PM
Client-side Javascript can only write cookies and documents. It cannot write files.

Tricky123
12-04-2002, 05:06 AM
Thanks for that (i guess).

I am having problems with cookies in that I can write data to one but it only persists for that session despite setting the expires date to plus 1 year. If I send no data but just a cookie with regular values then it will persist!!

Any thoughts?