473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Successive queries against a web page

Hi
I would like to make successive posts (queries) to a web page. To do
this I use fsockopen() as many times as the number of posts. But I
guess that this may be done via only one socket. Is this true? Or any
other way of doing this shorter? Because it comes to me redundant to
open as many sockets as queries.
Thanks
Jul 17 '05 #1
2 1335
Whats wrong with doing them in a loop?

This would also make them successive... rather than parallel?

"sinan" <si*****@hotmail.com> wrote in message
news:34**************************@posting.google.c om...
Hi
I would like to make successive posts (queries) to a web page. To do
this I use fsockopen() as many times as the number of posts. But I
guess that this may be done via only one socket. Is this true? Or any
other way of doing this shorter? Because it comes to me redundant to
open as many sockets as queries.
Thanks

Jul 17 '05 #2
On 27 Jul 2004 05:50:18 -0700, sinan wrote:
Hi
I would like to make successive posts (queries) to a web page. To do
this I use fsockopen() as many times as the number of posts. But I
guess that this may be done via only one socket. Is this true? Or any
other way of doing this shorter? Because it comes to me redundant to
open as many sockets as queries.
Thanks


HTTP/1.1 cames with persistent connections. In fact the server may expect
the client to retry an interrupted connection (but just for once, not
several times).

Mark the length of each of your post requests and pipe them on the same
connection. You will recevie the replays in the same order. Beware that
some servers will send you a Connection: close header in the replay.
--
Timothy Madden
Romania
------------------------------------
And I don't wanna miss a thing
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: d2r2 | last post by:
Hi, I'm trying to run a nested (UNION) query against a MSAccessXP database (version 2002; build 10.6501.6714; SP3) In Access the SQL-statement executes just fine. When I run it in a asp-page I...
6
by: Brad | last post by:
I have an sql query that has specific criteria (like state='PA' or state = 'NJ'...) and would like to be able to have the user specify the criteria dynamically either through the web or from...
5
by: dvorett | last post by:
I'm trying to develop a query where each successive query filters the options for the next. Optimally the user will select the value from a list of options, which will then create the value list...
4
by: Jay | last post by:
I have a DB2 UDB database on an AIX UNIX machine. I would like to know the queries running against certain tables. There are some applications outside of the database that do read and update these...
5
by: JasonP | last post by:
I am using Access 2003 on Windows XP. I am looking to analyse web traffic files using this - I appreciate there are bespoke applications which will do the same task. Each month there are roughly...
3
by: frex80i | last post by:
I have a question about my subject, Borland C programming.. a book is missing successive pages. the sum of these pages is the input, and the program determines which pages are missing (the pages...
1
by: JosAH | last post by:
Greetings, Introduction This week we start building Query objects. A query can retrieve portions of text from a Library. I don't want users to build queries by themselves, because users make...
7
by: Geoff Cox | last post by:
Hello, I have the code below in which the play1.gif image is visible and when the associated sound has been played the the 2 images same1.gif and different1.gif appear. Once one of these has...
9
by: jehugaleahsa | last post by:
Hello: I am writing a cute little class that will cache queries against a database. Currently, I am implementing this by storing the command text, parameter values and generated DataRows. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.