 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Apr 19, 2007 8:17 pm Post subject: ISAPI DLL Content Streams? |
|
|
I am building a ISAPI DLL in Delphi 7 and Intraweb 9.X
I have forms with Submit button. When I submit the Form to HTTP
server, i need to catch the respose content stream.
How Do I receive the respose Content stream and do something with it,
so that it does not load in my browser and make my ISAPI DLL go away.
I need to maintain the state I am in. Keep the DLL loaded...and have
the content stream go to
1.) a New browser WIndow
OR
2. ) in the same window as DLL, but loaded into some intraweb
component
THanks |
|
| Back to top |
|
 |
Farshad Guest
|
Posted: Thu Apr 19, 2007 11:05 pm Post subject: Re: ISAPI DLL Content Streams? |
|
|
Which method do you use to deploy your DLLs? I don't think you can do this
in IIS or any other standard WebServer.
You need to build your custom ISAPI server application that will allow you
monitoring/modifying the HTTP traffic.
There are two choices that I'm aware of:
1)idISAPIRunner component
http://members.chello.be/ws36637/
It uses an Indy idHttpServer to load ISAPI modules. Since it is Indy based
you can intercept the flow and monitor/modify the HTTP traffic.
I can not gurantee that this one is bug/leak free but it works fine. It is a
wonderful component for free but you must be carefull and fully test for
possible resource leaks.
2)RTC ISAPI Components:
http://www.realthinclient.com/
They provide components for serving ISAPI modules. Source code is provided
so you can sneak into communication and filter the HTTP traffic.
<laurameadors (AT) adelphia (DOT) net> wrote in message >
| Quote: | I am building a ISAPI DLL in Delphi 7 and Intraweb 9.X
I have forms with Submit button. When I submit the Form to HTTP
server, i need to catch the respose content stream.
How Do I receive the respose Content stream and do something with it,
so that it does not load in my browser and make my ISAPI DLL go away.
I need to maintain the state I am in. Keep the DLL loaded...and have
the content stream go to
1.) a New browser WIndow
OR
2. ) in the same window as DLL, but loaded into some intraweb
component
THanks
|
|
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 19, 2007 11:21 pm Post subject: Re: ISAPI DLL Content Streams? |
|
|
Hi , Thanks for responding. I guess I should have given you more
info.
I do use a Custom HTTP Server....and it uses idISAPIRunner to serve
the DLL.
I have users fill in a form and submit it to the Server, in response,
the server sends back a report (document).
I need to now, intercept this stream......and show it in either a new
window, or intraweeb component ...so as my dll does not get unloaded.
On Apr 19, 11:05 am, "Farshad" <fars...@fmsoft.net> wrote:
| Quote: | Which method do you use to deploy your DLLs? I don't think you can do this
in IIS or any other standard WebServer.
You need to build your custom ISAPI server application that will allow you
monitoring/modifying the HTTP traffic.
There are two choices that I'm aware of:
1)idISAPIRunner componenthttp://members.chello.be/ws36637/
It uses an Indy idHttpServer to load ISAPI modules. Since it is Indy based
you can intercept the flow and monitor/modify the HTTP traffic.
I can not gurantee that this one is bug/leak free but it works fine. It is a
wonderful component for free but you must be carefull and fully test for
possible resource leaks.
2)RTC ISAPI Components:http://www.realthinclient.com/
They provide components for serving ISAPI modules. Source code is provided
so you can sneak into communication and filter the HTTP traffic.
lauramead...@adelphia.net> wrote in message
I am building a ISAPI DLL in Delphi 7 and Intraweb 9.X
I have forms with Submit button. When I submit the Form to HTTP
server, i need to catch the respose content stream.
How Do I receive the respose Content stream and do something with it,
so that it does not load in my browser and make my ISAPI DLL go away.
I need to maintain the state I am in. Keep the DLL loaded...and have
the content stream go to
1.) a New browser WIndow
OR
2. ) in the same window as DLL, but loaded into some intraweb
component
THanks- Hide quoted text -
- Show quoted text - |
|
|
| Back to top |
|
 |
Shanev dvdfdfd Guest
|
Posted: Fri Apr 20, 2007 12:58 am Post subject: Re: ISAPI DLL Content Streams? |
|
|
I use a custom HTTP Server that uses the idISAPIRunner component to serve
the DLL
I send it a HTTP request and the server replies with a Content Stream
(Document).
I was wondering how it capture this and display it in a new window, so it
does not make my currently loaded DLL go away. I need to remain on the
current form in the DLL - but show the response in a new window
Thanks
"Farshad" <farshad (AT) fmsoft (DOT) net> wrote in message
news:4627af6d (AT) newsgroups (DOT) borland.com...
| Quote: | Which method do you use to deploy your DLLs? I don't think you can do this
in IIS or any other standard WebServer.
You need to build your custom ISAPI server application that will allow you
monitoring/modifying the HTTP traffic.
There are two choices that I'm aware of:
1)idISAPIRunner component
http://members.chello.be/ws36637/
It uses an Indy idHttpServer to load ISAPI modules. Since it is Indy based
you can intercept the flow and monitor/modify the HTTP traffic.
I can not gurantee that this one is bug/leak free but it works fine. It is
a wonderful component for free but you must be carefull and fully test for
possible resource leaks.
2)RTC ISAPI Components:
http://www.realthinclient.com/
They provide components for serving ISAPI modules. Source code is provided
so you can sneak into communication and filter the HTTP traffic.
laurameadors (AT) adelphia (DOT) net> wrote in message
I am building a ISAPI DLL in Delphi 7 and Intraweb 9.X
I have forms with Submit button. When I submit the Form to HTTP
server, i need to catch the respose content stream.
How Do I receive the respose Content stream and do something with it,
so that it does not load in my browser and make my ISAPI DLL go away.
I need to maintain the state I am in. Keep the DLL loaded...and have
the content stream go to
1.) a New browser WIndow
OR
2. ) in the same window as DLL, but loaded into some intraweb
component
THanks
|
|
|
| Back to top |
|
 |
Farshad Guest
|
Posted: Fri Apr 20, 2007 1:29 am Post subject: Re: ISAPI DLL Content Streams? |
|
|
| Quote: | I was wondering how it capture this and display it in a new window, so it
does not make my currently loaded DLL go away. I need to remain on the
current form in the DLL - but show the response in a new window
Thanks
|
If you want to display a simple messagebox in a new window then IW is
already capable of doing that. If you want to display a page containing IW
components in a new windows, as far as I know it is not possible.
IW apps are stateful and extending the current state into a new window is
quite difficult or impossible. It will leave you with two browser windows
both belonging to same session but trying to maintain different states. In
IW only one form can be active at a time. IW applications can not keep two
different states unless you can make the second window modal which is not
possible when you launch a new browser window.
The only solution is to launch a new window with a new session, however
there is no way for it to interact with the main window.
Honestly I didn't understand what is your purpose for launching a new app
window. Can you describe a bit more? |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Apr 20, 2007 3:03 am Post subject: Re: ISAPI DLL Content Streams? |
|
|
Well.....ok, it doesn't have to be a new window (all though that would
be nice). I guess it could show the content somewhere on the current
displayed form, or create a form at runtime and add it to the main app
(DLL)...not sure here
as I explained in my previous posts.
I have a ISAPI DLL. The user fills out a form and the form is
submitted to the Custom HTTP server. The server takes the request and
depending on the data submitted, it returns either a web page back or
some file (Report) in a stream.
I was wondering how to capture that stream or page and display it
eitherr in a new window, or in some type of control or form in the
currently loaded DLL.
Thanks
On Apr 19, 1:29 pm, "Farshad" <fars...@fmsoft.net> wrote:
| Quote: | I was wondering how it capture this and display it in a new window, so it
does not make my currently loaded DLL go away. I need to remain on the
current form in the DLL - but show the response in a new window
Thanks
If you want to display a simple messagebox in a new window then IW is
already capable of doing that. If you want to display a page containing IW
components in a new windows, as far as I know it is not possible.
IW apps are stateful and extending the current state into a new window is
quite difficult or impossible. It will leave you with two browser windows
both belonging to same session but trying to maintain different states. In
IW only one form can be active at a time. IW applications can not keep two
different states unless you can make the second window modal which is not
possible when you launch a new browser window.
The only solution is to launch a new window with a new session, however
there is no way for it to interact with the main window.
Honestly I didn't understand what is your purpose for launching a new app
window. Can you describe a bit more? |
|
|
| Back to top |
|
 |
|
|
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
|
|