468,771 Members | 1,922 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

dynamically load a HTML page (or a Word document),

I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would like the secretary at a school to update a Word document concerning homework assignments. This Word document would reside on the server. When changes are made it, these changes are automatically updated to the web page. This would simplify life immensely.

I am a “newbie” so please be very specific as to how to do this. How can I do this

Nov 18 '05 #1
2 1718
In a Client/Server based environment such as the internet the state is not maintained and the client and server detach themselves from each after the server processes the request and sends the response to the client(browser)

So in your scenario when the user opens(downloads the document) by clicking on the link they are actually getting a copy of the word document to their own machine from the server. Any changes they make to that document will not be reflected to your original document in the server

In order to get the results you want you have to have the user upload the document back to the server once they've completed their changes. Then on the server side you would replace the original with the copy that's being uploaded back to the server

Here's an example on how to upload files to the server
http://samples.gotdotnet.com/quickst..._inputfile.asp

You will also need to give the ASPNET webuser write permissions on the server directory where the word docs will be stored. Evaluate your network security before you do this

HTH
Suresh

----- KnotKnormal wrote: ----

I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would like the secretary at a school to update a Word document concerning homework assignments. This Word document would reside on the server. When changes are made it, these changes are automatically updated to the web page. This would simplify life immensely.

I am a “newbie” so please be very specific as to how to do this. How can I do this

Nov 18 '05 #2
thx Suresh!

this is pretty much what i wanted

Thank you!

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Pawel | last post: by
3 posts views Thread by ojvm | last post: by
1 post views Thread by vanisathish | last post: by
5 posts views Thread by Earl Teigrob | last post: by
1 post views Thread by Duke | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.