Question:
I’m trying to pass parameters between two html pages, both resident as files on my client. I’ve tried passing them as “search” and “hash” parameters in the URL … this apparently doesn’t work with the “file” protocol; I’ve tried passing them in the document.cookie property … this works accross the internet, but again not locally! Am I missing something? Is there a better way to pass parameters between pages?
Answer:
Parameters are normally passed from pages to CGI scripts or ISAPI filters and not from page to page. There really isn’t a way to pass parameters between pages, which is one of the major problems with trying to write applications for the web without using a backend database. There is no way to maintain state between pages, which is the problem you are running into.