Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2003, 04:13 AM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem With Microsoft.XMLHTTP

I'm accessing some data from a url using (Microsoft.XMLHTTP).This page have some data like headline, source, author etc.

Once i get these data , i separate these headline, source etc. and insert in the database. I'm getting the perfect result. everything is working fine.

The scene is like that first i insert data at my server with the help of some admin section. Then i fetch the data from this database and populate (suppose last five records) at a given url ( www.abc.com)

Then at the other server (www.xyz.com) i request the page (www.abc.com) and parse the data and insert it in the the database of (www.xyz.com)


Now the problem begins here:----------

When first time i access the page if there are some new records available, it perfectly insert all the records.

now no new records are available so i add some another record and again refresh the page of ther server and again the record is inserted. This way i am able to insert records as long as i first insert some record at my database and after that only refresh the page at other server.


The problem begins when i refresh the page at other server and no new data is available at our server.After that although i add new records to my database , it could not be retrieved at the other server as the XMLHTTP is returning blank.

And now the very surprising thing....................

i could not able to fetch it through out the day but the very next day when i fetch the url all the new records perfectly get inserted and the whole process start as i mentioned before.


Any suggestion why this is happening, how can i rectify it.
 
Old August 11th, 2003, 10:20 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am experiencing a similar problem... Is there a way to force a flush of data held in the object just prior to re-retrieving?
 
Old August 13th, 2003, 02:33 PM
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what does this have to do with XSLT?

But anyhow...

are you calling the open() method again or just trying to send()? This should allow you to only recieve the fresh data, and perhaps if this does not work you could recreate the object again.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Posting XML data via XMLHTTP steelrose XML 1 November 15th, 2007 05:19 PM
Problem with using POST method with XMLHTTP vvr Classic ASP XML 1 December 6th, 2004 01:44 AM
Microsoft.XMLHTTP and javascript under IE6 jeff1974 Javascript 3 October 24th, 2004 03:27 AM
XML Post using microsoft.XMLHTTP csmajor231 XML 0 April 5th, 2004 03:06 PM
Why does Microsoft.XMLHTTP not work? mega XML 2 August 12th, 2003 07:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.