[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
XML Data from ASP cached/erroneous
- From: Andrew Spencer <spence79@m...>
- To: xml-dev@l...
- Date: Mon, 15 Oct 2001 09:20:22 -0400
Hello List!
I am using the following methods to get my xml data
to the client:
' Server Page
strSQL = "SELECT DATA FROM TABLE"
set oRs = Server.CreateObject("ADODB.Recordset")
oRs.CursorLocation = 3
oRs.Open strSQL, oConn
oRs.Save Response, adPersistXML
and the following methods to load it:
' Client
set XMLDocPlan = CreateObject("microsoft.xmldom")
' Not an Asynchronous Operation
XMLDocPlan.async=false
' Load Data from Server
XMLDocPlan.load "test_chart_plan.asp"
everything appears to work fine initially I can
traverse the rs:data and get my client side control loaded with the data, but
the XML returned after a couple reloads starts to return duplicate records, and
multiple sets when there should only be one (verified via the
database). I have expired the called data (.asp) generator and used
all the usual 'cache no more' tricks. Is there something in XML
specifically to ensure this weird behavior stops? Thanks in advance.
Database is Oracle, and we are using Oracle's OLE-DB provider to
connect.
Andy Spencer
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|