Grabbing Data On The Fly - Some methods for passing data around
(Page 2 of 6 )
There are three well-known methods that are used to gather data, and return results to the user, these are:
- Remote Scripting Technologies
- Collect users query on one page, and return the results in another
- Submit users query to the same page
As with any web technology, though, each method has its drawbacks:
Remote Script:- Remote scripting is very hard to debug and maintain
- Sometimes, the performance of remote scripting is appalling
Collect in one, query in another:- The number of pages increases quickly
- If the form contains a huge number of variables that need to be stored, then we may need to enable session state
- Hard to maintain
Submit users query to same page:- The page size may become large and contain too much logic
- As a result, managing code would turn into a nightmare
There is, however another way to handle data submission and retrieval without refreshing the page or using session state. We can use a hidden frame.
Next: Using frames to solve the refresh problem >>
More ASP Articles
More By Phanix Chen