🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #719

Queying WEB pages

#719
From: Alim Akyol
Date: Wed, 25 Oct 2006 12:28
34 lines
2053 bytes
Hi all.

I'm developing a service application with C++ using BDS 2006. This
service supposed to query WEB pages (HTTP or HTTPS) with everything in
them including images, applets, objects (swf, etc.). In addition I want
to be able to get cookies and post data. I'm trying to create an
application which tests WEB servers performance. Thus, I Want to be
able to measure query times of the whole page and each element
individually.

I don't want to use TWebBrowser because of;
1- My application is a Windows Service. There is no user interface and
TWebBrowser must be visible to browse an URL.
2- TWebBrowser uses IE settings. If script debugging is enabled, it
shows dialog box to user and I don't want to change or force user to
change options.
3- If caching is disabled, it does not cache HTML page but it caches
images and other elements.


Is there any component for this purpose?
Can I use IHTMLDocument2 interface to load pages without using
TWebBrowser?

I could use TIdHTTP but I have a doubt about it. I don't want to parse
pages, and handle frames, cookies, SSL pages, etc.

Any help will be appreciated.
Thanks in advance.

Alim Akyol


-- 
Technical Details
Message-ID: <xn0esw68cdluat000@forums.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,dc54f5f83a00dec3,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Alim Akyol" <akyolalim@yahoo.com>
Subject: Queying WEB pages
Newsgroups: borland.public.cppbuilder.internet.web
User-Agent: XanaNews/1.18.1.3
Message-ID: <xn0esw68cdluat000@forums.borland.com>
X-Ref: forums.borland.com ~XNS:00000000
NNTP-Posting-Host: 81.214.12.215
Date: 25 Oct 2006 05:28:27 -0700
X-Trace: newsgroups.borland.com 1161779307 81.214.12.215 (25 Oct 2006 05:28:27 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail