A method and apparatus for providing local data persistence for a Web
server application. A Web page provided to a client application (e.g., a
Web browser) by the server application contains a data entry area as well
as a save button and a restore button. When the user actuates the save
button, the Web page dynamically creates a new page that contains the
data to be saved and a message prompting the user to save the new page in
a user-designated location by using the file-saving function of the Web
browser. The user may then close the original Web page, and the new page
will remain saved locally. The user may then return to the original Web
page and actuate the restore button to repopulate the original Web page
with the data that has been saved locally. The save page contains a
script function which becomes active when the page is loaded to perform
the desired restoration function.