Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6908303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:32:46+00:00 2026-05-27T08:32:46+00:00

Just by looking at a tcp-capture of a whole HTTP web-browsing session, would it

  • 0

Just by looking at a tcp-capture of a whole HTTP web-browsing session,
would it be possible to differentiate between web requests that were initiated by the User (either by clicking on a link or by typing in the url in the address-bar) and web requests that were sent out (by the browser) as a result of web-page objects (images,iframes,ajax, etc’).

The Referer Header does not answer the requirement, since its value would be the same in case of a User-initiated click on a link and a browser-request for a web-page object on that page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:32:47+00:00Added an answer on May 27, 2026 at 8:32 am

    There is no simple solution to this, and I doubt it can even be done reliably, but here are some tips on how you can filter the data in multiple steps:

    1. Keep-Alive:
      HTTP allows multiple sequential requests on the same TCP connection (if keepalive is supported). It is probably safe to assume that only the first request on a TCP connection may be user initiated, while the rest ought to be for images/scripts related to that page. This should siginificantly reduce the number of requests you need to analyze further.

    2. Content-Type: If you are prepared to assume that only HTML was downloaded through user initiated requests, you could filter out anything where the response does not match a certain Content-Type (e.g. text/html)

    3. Response body: You are now left with only HTML responses, but looking at request/response headers it is pretty much impossible to differentiate an iframe request from a clicked link since Referer will be the same in both cases (eventhough most iframe downloads have probably been filtered out in step 1). To refine this further you would have to parse every HTML response and look for any <iframe src="..." or <link rel="prefetch" that could cause an HTML download that was not user initiated, and then filter out requests that were made for those resources.

    None of this makes for a perfect analysis, but it might be good enough for your purposes. For instance, detecting requests from <meta> refresh would probably be impossible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just looking for the first step basic solution here that keeps the honest people
Just looking for the relevant documentation. An example is not necessary, but would be
Just looking on resources that break down how frames per second work. I know
Basically just looking to see if you can capture an image from the webcam
I'm just looking for a simple, concise explanation of the difference between these two.
I am trying to understand tcp connections between a browser and a web server.
I'm looking for a simple clock synchronization protocol that would be easy to implement
I'm looking for a graphic debugger that can connect to a running gdbserver (TCP)
Just looking at ways of getting named constants in python. class constant_list: (A_CONSTANT, B_CONSTANT,
Just looking at: (Source: https://xkcd.com/327/ ) What does this SQL do: Robert'); DROP TABLE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.