Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Feb 11, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Passing Parameters Between Pages

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?

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.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date