
February 13th, 2004, 10:36 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
I wrote a filter about a year ago that performed a simple redirection based on the requested page (i.e. processing in a filter) and I never had any problem. That's not to say that problems aren't possible, but depending on how critical your app is you might be able to get away with it until you figure out the right answer.
The infamous "2 cents" = It seems like you should be doing this within the web application.
Not sure about your netscape problem, but you might try doing something with the End..Session notification. Maybe the netscape browser is leaving the connection hangin?
Quote: | Originally Posted by brpodol I have two questions and both are regarding an ISAPI filter. The first is:
I have a commercial ISAPI extension running on my webserver but I need to restrict users' access to it based on who they are and on the POST or QueryString information they submit. I know Microsoft does not recommend processing POST data with the OnReadRawData method of an ISAPI filter...but I can't see any other choice. Any suggestions?
The second question is: I've written the filter dll already, and it works fine with IE. Unfortunately, I also need to support Netscape 4.7. With Netscape 4.7, the request takes about 10 secs. to process, it's nearly instantaneous with IE. I've tried to debug by printing the raw data to a file. With Netscape, if I print out the data as the very first thing in the OnReadRawData method, then the request looks fine. However, if I do anything else (i.e. just run a counter loop from 1 to 100) and then print the data, then it does not print out the last two headers and does not print out the POST data. WEIRD!
I thought this seemed like a threading issue so I wrapped the entire function in a CriticalSection but that had no effect.
Again... any Ideas?!? I am big time stumped.
Thanks!! |
|