Bob,
Ok, this is what I am trying to do. I have an internet page that is coded in
aspx that contains this code in it <!--#INCLUDE FILE="C:\TEST\Index.htm" -->,
which calls text from the index page to display in the aspx page.
Furthermore, I have an upload page that allows a user to type a word document
and save it as "Index.htm". Then the user uploads that to the server located
here "C:\TEST\Index.htm".
All of that works fine; however, when the user uploads that page then the
aspx page does not reflect the changes that were made to the Index.htm page.
Now, I can logon to my server and open the aspx page,which contains the
<!--#INCLUDE FILE="C:\TEST\Index.htm" --in it and hit save and when the
user goes to the aspx page in their browser then they can see the changes
made to the include file.
The problem is I am wanting to add code or something to this aspx page that
will auto update and show the changes to the Index.htm page that it includes.
Thanks,
Brandon
"Bob Barrows [MVP]" wrote:
Brandon wrote:
Hi,
I have an aspx page
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
that has the "include" code in it which includes
another page that displays information. I also have an upload page
that allows users to upload a simple html document onto the server.
The include code calls that html page to display the text on that
page. The problem is when the user uploads that html page, the aspx
page does not refresh to reflect those changes, even if the user hits
refresh in their browse. However, if I manually connect to the server
and open the aspx page that contains the code and hit save then the
webpage updates to reflect the changes that were made to the include
page. Can anyone help me fix this problem?
I think people will need to see more details in order to help yo. You should
provide a small repro page to enable people to load the code in their
websites and see the problem for themselves.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"