Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


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

Passing Parameters Between Pages

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


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

 

 

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