I have a question, is that any other way to retrieve data from another
webpage besides using XML object? Because I am using XML object now but give
me so much problems.
If I used MSXML2.ServerXM LHTTP object, it gives me time out error:
msxml3.dll error '80072ee2'
The operation timed out
If I used Microsoft.XMLHT TP object, it will hang IE!
In both cases, I have to wait for half an hour or more in order for the XML
object to be working again.
Actually both webpages that's communicating are hosted at the same machine.
The main site (ex. aa.domain.com) points to particular folder under it, while
another one (ex. bb.domain.com) points to another folder which is two levels
up to the first one.
Please help!! 5 7078
If both sites/pages are in your control why not rethink the way you are
approaching? Perhaps have both use a shared INCLUDE file, so they may share
the content?
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"Vanessa" wrote: I have a question, is that any other way to retrieve data from another webpage besides using XML object? Because I am using XML object now but give me so much problems.
If I used MSXML2.ServerXM LHTTP object, it gives me time out error: msxml3.dll error '80072ee2' The operation timed out
If I used Microsoft.XMLHT TP object, it will hang IE!
In both cases, I have to wait for half an hour or more in order for the XML object to be working again.
Actually both webpages that's communicating are hosted at the same machine. The main site (ex. aa.domain.com) points to particular folder under it, while another one (ex. bb.domain.com) points to another folder which is two levels up to the first one.
Please help!!
yes you can pass a QS in the URL, but you can't dynamically build it, since
it's processed BEFORE the asp code... if thats fine then this should work
fine.
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"Vanessa" wrote: Curt,
Thanks for the quick response! Can we pass querystring in INCLUDE? Server.Execute can do it but can't send querystring.
The reason we have two folders for our websites becuase each one is connecting to a different database. And here is supposed to do:
at test.asp at aa.domain.com
..... do something ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =123&state=2&up date=N" Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com ....
So do you think INCLUDE will work instead of XML object in this flow?
Thanks alot!!!!
"Curt_C [MVP]" wrote:
If both sites/pages are in your control why not rethink the way you are approaching? Perhaps have both use a shared INCLUDE file, so they may share the content?
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
I have a question, is that any other way to retrieve data from another webpage besides using XML object? Because I am using XML object now but give me so much problems.
If I used MSXML2.ServerXM LHTTP object, it gives me time out error: msxml3.dll error '80072ee2' The operation timed out
If I used Microsoft.XMLHT TP object, it will hang IE!
In both cases, I have to wait for half an hour or more in order for the XML object to be working again.
Actually both webpages that's communicating are hosted at the same machine. The main site (ex. aa.domain.com) points to particular folder under it, while another one (ex. bb.domain.com) points to another folder which is two levels up to the first one.
Please help!!
Thanks Curt!
But I need to pass the querystring dynamically into the URL (in a loop
actually), so I guess INCLUDE can't be used. :(
Any more help from anyone? please help me out on this....
will be liked this:
at test.asp at aa.domain.com
......
do while <not end of loop>
do something to get value or to define value of ID and CurrentState for
example
.....
Response.Buffer = True
PostURL = "http://bb.domain.com/xml/whatever.asp?ID =" &ID&
"&CurrentState= " &CurrentStat e
Set xml = Server.CreateOb ject("Microsoft .XMLHTTP")
xml.Open "POST", PostURL, False,"",""
xml.Send
dataNeeded = xml.responseTex t
Set xml = Nothing
....
process something based on values of dataNeeded from bb.domain.com
....
loop
"Curt_C [MVP]" wrote: yes you can pass a QS in the URL, but you can't dynamically build it, since it's processed BEFORE the asp code... if thats fine then this should work fine.
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
Curt,
Thanks for the quick response! Can we pass querystring in INCLUDE? Server.Execute can do it but can't send querystring.
The reason we have two folders for our websites becuase each one is connecting to a different database. And here is supposed to do:
at test.asp at aa.domain.com
..... do something ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =123&state=2&up date=N" Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com ....
So do you think INCLUDE will work instead of XML object in this flow?
Thanks alot!!!!
"Curt_C [MVP]" wrote:
If both sites/pages are in your control why not rethink the way you are approaching? Perhaps have both use a shared INCLUDE file, so they may share the content?
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
> I have a question, is that any other way to retrieve data from another > webpage besides using XML object? Because I am using XML object now but give > me so much problems. > > If I used MSXML2.ServerXM LHTTP object, it gives me time out error: > msxml3.dll error '80072ee2' > The operation timed out > > If I used Microsoft.XMLHT TP object, it will hang IE! > > In both cases, I have to wait for half an hour or more in order for the XML > object to be working again. > > Actually both webpages that's communicating are hosted at the same machine. > The main site (ex. aa.domain.com) points to particular folder under it, while > another one (ex. bb.domain.com) points to another folder which is two levels > up to the first one. > > Please help!! >
I concur with Curt on this.
It sounds like you have some code in that whatever.asp page that returns
some values needed by the calling page, right? So encapsulate that code in a
function, place the function in an INCLUDE file, and include the file in
whatever page needs to use that function.
Another possibility is to create a Web Service. You should Google that so
you can see if you are able to utilize that functionality. It's not too hard
to do, but there is a learning curve involved.
Bob Barrows
Vanessa wrote: Thanks Curt!
But I need to pass the querystring dynamically into the URL (in a loop actually), so I guess INCLUDE can't be used. :(
Any more help from anyone? please help me out on this....
will be liked this:
at test.asp at aa.domain.com
..... do while <not end of loop> do something to get value or to define value of ID and CurrentState for example ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =" &ID& "&CurrentState= " &CurrentStat e Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com .... loop
"Curt_C [MVP]" wrote:
yes you can pass a QS in the URL, but you can't dynamically build it, since it's processed BEFORE the asp code... if thats fine then this should work fine.
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
Curt,
Thanks for the quick response! Can we pass querystring in INCLUDE? Server.Execute can do it but can't send querystring.
The reason we have two folders for our websites becuase each one is connecting to a different database. And here is supposed to do:
at test.asp at aa.domain.com
..... do something ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =123&state=2&up date=N" Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com ....
So do you think INCLUDE will work instead of XML object in this flow?
Thanks alot!!!!
"Curt_C [MVP]" wrote:
If both sites/pages are in your control why not rethink the way you are approaching? Perhaps have both use a shared INCLUDE file, so they may share the content?
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
> I have a question, is that any other way to retrieve data from > another webpage besides using XML object? Because I am using XML > object now but give me so much problems. > > If I used MSXML2.ServerXM LHTTP object, it gives me time out error: > msxml3.dll error '80072ee2' > The operation timed out > > If I used Microsoft.XMLHT TP object, it will hang IE! > > In both cases, I have to wait for half an hour or more in order > for the XML object to be working again. > > Actually both webpages that's communicating are hosted at the > same machine. The main site (ex. aa.domain.com) points to > particular folder under it, while another one (ex. bb.domain.com) > points to another folder which is two levels up to the first one. > > Please help!!
--
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"
Thank You Bob and Curt, I have tried this today and it works!
This really free me from the hassle and the pain of using XMLHTTP. Thanks!
"Bob Barrows [MVP]" wrote: I concur with Curt on this.
It sounds like you have some code in that whatever.asp page that returns some values needed by the calling page, right? So encapsulate that code in a function, place the function in an INCLUDE file, and include the file in whatever page needs to use that function.
Another possibility is to create a Web Service. You should Google that so you can see if you are able to utilize that functionality. It's not too hard to do, but there is a learning curve involved.
Bob Barrows
Vanessa wrote: Thanks Curt!
But I need to pass the querystring dynamically into the URL (in a loop actually), so I guess INCLUDE can't be used. :(
Any more help from anyone? please help me out on this....
will be liked this:
at test.asp at aa.domain.com
..... do while <not end of loop> do something to get value or to define value of ID and CurrentState for example ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =" &ID& "&CurrentState= " &CurrentStat e Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com .... loop
"Curt_C [MVP]" wrote:
yes you can pass a QS in the URL, but you can't dynamically build it, since it's processed BEFORE the asp code... if thats fine then this should work fine.
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "Vanessa" wrote:
Curt,
Thanks for the quick response! Can we pass querystring in INCLUDE? Server.Execute can do it but can't send querystring.
The reason we have two folders for our websites becuase each one is connecting to a different database. And here is supposed to do:
at test.asp at aa.domain.com
..... do something ..... Response.Buffer = True PostURL = "http://bb.domain.com/xml/whatever.asp?ID =123&state=2&up date=N" Set xml = Server.CreateOb ject("Microsoft .XMLHTTP") xml.Open "POST", PostURL, False,"","" xml.Send dataNeeded = xml.responseTex t Set xml = Nothing .... process something based on values of dataNeeded from bb.domain.com ....
So do you think INCLUDE will work instead of XML object in this flow?
Thanks alot!!!!
"Curt_C [MVP]" wrote:
> If both sites/pages are in your control why not rethink the way > you are approaching? Perhaps have both use a shared INCLUDE file, > so they may share the content? > > -- > Curt Christianson > site: http://www.darkfalz.com > blog: http://blog.darkfalz.com > > > > "Vanessa" wrote: > >> I have a question, is that any other way to retrieve data from >> another webpage besides using XML object? Because I am using XML >> object now but give me so much problems. >> >> If I used MSXML2.ServerXM LHTTP object, it gives me time out error: >> msxml3.dll error '80072ee2' >> The operation timed out >> >> If I used Microsoft.XMLHT TP object, it will hang IE! >> >> In both cases, I have to wait for half an hour or more in order >> for the XML object to be working again. >> >> Actually both webpages that's communicating are hosted at the >> same machine. The main site (ex. aa.domain.com) points to >> particular folder under it, while another one (ex. bb.domain.com) >> points to another folder which is two levels up to the first one. >> >> Please help!!
-- 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" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Robert Cohen |
last post by:
Hi All,
I have what is an easy question for you all, but I have not idea (this
is in vbscript). I have this script below that works great. It figures out
the user logged in and gives the AD information about the user.
On another webpage, I have a staff directory which lists all the users.
What I would like to do is create a link on the staff directory that will
open up this information page with the user specified (instead of the logged...
|
by: NK |
last post by:
Hi,
We have a webpage that has a form available on the intranet.
A user will have a window open that runs a different application open.
When the user accesses the webpage and clicks a button we should
capture the data from the application window and populate the form.
Is it possible to access text inside another opened window on the client
pc, using javascript?
|
by: Mark |
last post by:
Hi all, does anyone know of a nice utility/ class which will allow me to
retrieve the details of a webpage?
Specifically, I would like to be able to retrive the html and then call a
method which would retrieve: meta tags
Keywords
Description
as well as another method which removes all the HTML from the string
starting at the body tag
|
by: sanou |
last post by:
Hi does anyone know if the following is possible?
I have an excel spreadsheet with values that i need transferred to a certain website's form. for instance, i have a value in excel spreadsheet xyz that i wanted to transfer to a data entry box on a webpage that is concurrently open. basically i want to make it simple enough that at a push of a button, i can copy/paste all my data into another form.
alternatively, i guess could have a...
|
by: kev |
last post by:
Hi all,
I have created a database for equipments. I have a form to register the
equipment meaning filling in all the particulars (ID, serial, type,
location etc). I have two buttons at the end of the form which is
submit and cancel. After i have clicked submit, the information is
stored directly into my corresponding database table. My problem here
is i need to retrieve back the information submitted to display all the
data that the...
| |
by: JM |
last post by:
Before storing information from a form in database I perform follwing
operations on it :
$path =
mysql_real_escape_string(strip_tags(trim(urldecode($_POST))));
$summary =
mysql_real_escape_string(strip_tags(trim(urldecode($_POST))))
When I look in database I see '\r\n' in the text for the summary
wherever I pressed return-key.
When i retrieve the information from database and display it on webpage
|
by: Watermark |
last post by:
i got problem with this
i m implementing web based mail system.
i want to access mbox and retrieve mail from it and display it on web page..
can anybody help me.
|
by: subhadip |
last post by:
Hi ,
I want to retrieve any web page content using javascript . suppose
I logged into my gmail account and opened my e-mail. now i want that a
javascript will execute on the page and read all text content from
that page (e.g. all email subjects ) and save it in a text file . I
may embed the script in my browser. Is this possible ? Can you
suggest any code for this ?
Thank you .
Regards
Subhadip
|
by: Kity1018 |
last post by:
Hi,
I have a webpage which has a detailsView control with no paging. On the page's button click event, I need to access one data field to make a desicion.
I have the this detailsView bind to objectDatasource which comes from a dataset called dsRequest.
Here is my code, but I got a "object not set to instance" error which almost drove me crazy. Please help me out. Thanks a lot.
code:
Dim shipmentID As DateTime
Dim...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |