Discussion:
Passing data from Wildcard application maps to ISAPI Filter
(too old to reply)
Gaspar
2007-03-16 17:54:02 UTC
Permalink
Is there any way to pass data from Wildcard application maps to ISAPI
Filter?
Right now, I'm passing data in the URL (I modify the URL with
HSE_REQ_EXEC_URL and then ISAPI filters sees the modified version) but I
don't want this data to arrive to the client browser.

Is there any server procedure, ECB property, etc.?
Thanks!
David Wang
2007-03-17 00:47:55 UTC
Permalink
IIS and ISAPI has no built-in support to share data between ISAPI
Filter and Extension.

Why don't you just pass a shared memory address between wildcard
application mapping and ISAPI Filter as the "data". This allows both
ISAPI Filter and wildcard application mapping to easily share data
without anything showing in the request/response nor client.

If you see this data going back to the client, then either you are
doing something seriously wrong, or the observed behavior is expected.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Post by Gaspar
Is there any way to pass data from Wildcard application maps to ISAPI
Filter?
Right now, I'm passing data in the URL (I modify the URL with
HSE_REQ_EXEC_URL and then ISAPI filters sees the modified version) but I
don't want this data to arrive to the client browser.
Is there any server procedure, ECB property, etc.?
Thanks!
Gaspar
2007-03-19 11:33:22 UTC
Permalink
Post by David Wang
IIS and ISAPI has no built-in support to share data between ISAPI
Filter and Extension.
Why don't you just pass a shared memory address between wildcard
application mapping and ISAPI Filter as the "data". This allows both
ISAPI Filter and wildcard application mapping to easily share data
without anything showing in the request/response nor client.
If you see this data going back to the client, then either you are
doing something seriously wrong, or the observed behavior is expected.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Post by Gaspar
Is there any way to pass data from Wildcard application maps to ISAPI
Filter?
Right now, I'm passing data in the URL (I modify the URL with
HSE_REQ_EXEC_URL and then ISAPI filters sees the modified version) but I
don't want this data to arrive to the client browser.
Is there any server procedure, ECB property, etc.?
Thanks!
It sounds well, but this will make my code very complicated.


Does IIS in any way identify user request with a unique ID?
I tried using the ECB.ConnID but (I don't know why) Wildcard App Map's
ConnId is different from Filter's ConnID in the same request.

Thanks again!
David Wang
2007-03-19 18:35:44 UTC
Permalink
Post by Gaspar
Post by David Wang
IIS and ISAPI has no built-in support to share data between ISAPI
Filter and Extension.
Why don't you just pass a shared memory address between wildcard
application mapping and ISAPI Filter as the "data". This allows both
ISAPI Filter and wildcard application mapping to easily share data
without anything showing in the request/response nor client.
If you see this data going back to the client, then either you are
doing something seriously wrong, or the observed behavior is expected.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Post by Gaspar
Is there any way to pass data from Wildcard application maps to ISAPI
Filter?
Right now, I'm passing data in the URL (I modify the URL with
HSE_REQ_EXEC_URL and then ISAPI filters sees the modified version) but I
don't want this data to arrive to the client browser.
Is there any server procedure, ECB property, etc.?
Thanks!
It sounds well, but this will make my code very complicated.
Does IIS in any way identify user request with a unique ID?
I tried using the ECB.ConnID but (I don't know why) Wildcard App Map's
ConnId is different from Filter's ConnID in the same request.
Thanks again!- Hide quoted text -
- Show quoted text -
ISAPI provides no explicit support to uniquely identify users,
sessions, nor user requests. ISAPI operates at the HTTP layer, and all
those concepts are application-layer concepts, which can be built on
top of ISAPI, but you have to do that work.

What I am suggesting is no more complicated than what you are
currently doing.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Loading...