Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass data from one page to another

Status
Not open for further replies.

Progman55

Programmer
Nov 7, 2000
4
US
Does anyone here know how to send data from one page to another? For instance, I would like to make one dynamic page which could display any file, if the calling page sent it the file info. This would be used in a file navigation system in my programming page. Thanks. If you can't makes heads or tails of this, reply to this thread, and maybe I can try to explain what I need.

Thanks all,

Progman55

website:
 
I have used three ways:

1) via passed parms - Request.QueryString

2) via Form in hidden fields - Request.Form

3) Using session variables.

Acquiring the data is easiest using the form and querystring techniques; however, sometimes you want to be able to talk to other modules without hosing with the forms or querystring parms - that is when I use session variables.
 
Thanks nj5j,

Forgive my ignorance, but I'm still lost. I've just basically started looking into DHTML (I usually use WYSIWYG editors for HTML, although I'm starting to hand-code, which I like a lot better), so if you could (or anyone else) explain this from the start, it would be good. Thanks all, and nj5j!


Progman55

Daniel@Bostontech.com
 
To do what you are specifying, you are definitely going to have to hand code. You might want to consider stop using WYSIWYG editors now so that you can master the many languages involved. DHTML stands for Dynamic Hypertext Markup Language. DHTML is not a single creature. It is comprised of: Browser DOM (document object model), Client side JavaScript, CSS (style sheets), and can also include ASP and VBScript. Usually DHTML refers to activities that occur on the client side, not the server side although that is not negated. Via JavaScript and the DOM you can do neat things like make objects visible/invisible on the client without going back to the server. Very Fast. A lot of the load on the server can be offloaded to the client. Knowledge of the DOM becomes critical. With IE4 and above the entire document model is exposed for manipulation on the client. I have done some really slick stuff with this and I do suggest that you pursue it. Get away from those editors and learn HTML, JavaScript, Style Sheets - at a minimum. Good luck.
 
Thanks nj5j. I'll have to see about finding some good reference guides and learn it on my spare time. If you have any suggestions on good reference sites or books, I'd be happy to hear what you have to suggest. Thanks!



Progman55

Daniel@Bostontech.com
 
Do a search on this forum, and the javascript forum for references. I know I have posted in either one or both asking for references and was given some very good ones.

Sorry I don't have time to send you the list myself. Good luck with them though.
Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top