Hi...
I have created an ASP Application Variable for an XML File that will be used frequently day-in-and-day-out... with the help of the following lines in the global.asa file of IIS 5.0:
<Script language= "Vbscript" runat = server>
Sub Application_OnStart()
Set Application("Q&A" = Server.CreateObject_
("Msxml2.FreeThreadedDOMDocument.4.0"
Application("Q&A".async = false
Application("Q&A".load(Server.MapPath_
("QuestionAndAnswer.xml"
End Sub
</Script>
Everything is fine... The problem i face is when some entry is inserted into the above xml file, by someone... it doesn't reflect in the output (The output is done thru' a server side XSL transformation)... though the entry is physically available in the xml file...
How to refresh the ASP Application Variable periodically... or as and when a change occurs in the xml file.. and what are the performance implications of such an act...
Thanks...
Thiyaga Thuraivan
I have created an ASP Application Variable for an XML File that will be used frequently day-in-and-day-out... with the help of the following lines in the global.asa file of IIS 5.0:
<Script language= "Vbscript" runat = server>
Sub Application_OnStart()
Set Application("Q&A" = Server.CreateObject_
("Msxml2.FreeThreadedDOMDocument.4.0"
Application("Q&A".async = false
Application("Q&A".load(Server.MapPath_
("QuestionAndAnswer.xml"
End Sub
</Script>
Everything is fine... The problem i face is when some entry is inserted into the above xml file, by someone... it doesn't reflect in the output (The output is done thru' a server side XSL transformation)... though the entry is physically available in the xml file...
How to refresh the ASP Application Variable periodically... or as and when a change occurs in the xml file.. and what are the performance implications of such an act...
Thanks...
Thiyaga Thuraivan