Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 4th, 2003, 04:13 AM
Registered User
Join Date: Aug 2003
Location: , , .
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.
Reply With Quote
  #2 (permalink)  
Old August 11th, 2003, 10:20 AM
Registered User
Join Date: Aug 2003
Location: Houston, TX, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

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?
Reply With Quote
  #3 (permalink)  
Old August 13th, 2003, 02:33 PM
Registered User
Join Date: Jul 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 05:22 PM.

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