HTML or Javascript that can write to a text file

Posted on 2006-04-06
Last Modified: 2013-12-25
Is it possible to write information to a text file via HTML / javascript to a user's machine.  For instance if i made a CD that contained a local website with an embedded video, could I include HTML or javascript that would be able to write information to a text file and store it on the users machine that simply stated "yes" the video ws watched or "no" the video was not watched?

Ulitmately we would like to send the text file to our website so we can confirm that the user watched the video locally and reward them for doing so.  

If this can not be done in HTML / javasript, can it be done in an other programing language?
Question by:arobquinna
    1 Comment
    LVL 10

    Accepted Solution

    If it were me, I'd use javascript to create a cookie ( and then read the cookie to see if they've seen the video.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    When pages do not download correctly, and you don't know why, the first thing you do is to look at the HTML source code of that page, but not all the downloaded files appear always clearly. If your source includes a javascript that computes the name…
    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now