BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to intercept HTTP Post

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Eugene V. Goldberg
Guest





PostPosted: Thu Sep 29, 2005 2:17 pm    Post subject: how to intercept HTTP Post Reply with quote



Hi there guys,

How in my application do i intercept HTTP Post operations being done
in Internet Explorer or other browser...So when user submits a form
with a number of fields, i can get the submitted values and pass it further?

Should i hook Winsock send/recv or there is more high-level API to hook on?

Code samples would be greatly appreciated.

Thanx alot,
Eugene.


Back to top
Eugene V. Goldberg
Guest





PostPosted: Thu Sep 29, 2005 5:09 pm    Post subject: Re: how to intercept HTTP Post Reply with quote



pretty simple :)

just hook HttpSendRequestA/W and all the data is there in lpOptional param.

"Eugene V. Goldberg" <egold (AT) mts-nn (DOT) ru> wrote

Quote:
Hi there guys,

How in my application do i intercept HTTP Post operations being done
in Internet Explorer or other browser...So when user submits a form
with a number of fields, i can get the submitted values and pass it
further?

Should i hook Winsock send/recv or there is more high-level API to hook
on?

Code samples would be greatly appreciated.

Thanx alot,
Eugene.





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Sep 29, 2005 7:47 pm    Post subject: Re: how to intercept HTTP Post Reply with quote




"Eugene V. Goldberg" <egold (AT) mts-nn (DOT) ru> wrote


Quote:
How in my application do i intercept HTTP Post operations
being done in Internet Explorer or other browser...

You can use an NDIS device driver that hooks the WinSock stack directly. If
you do not want to write your own device driver from scratch (which you
cannot do with Borland's tools anyway - you need Microsoft's DDK for that),
then look at using a third-party driver, such as WinPCap
([url]http://www.winpcap.org)[/url].

Quote:
So when user submits a form with a number of fields, i can get
the submitted values and pass it further?

That, on the other hand, is a very different issue. In the case of IE
specifically, there are ways you can hook the browser window directly via
its own DOM interfaces without using a device driver at all. This does not
work for any other browser. Refer to MSDN for more details, or search at
http://www.deja.com for earlier posts on this issue.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.