Re: How to set Timeout with URL Moniker?
From: ama (a.m.a_at_videotron.ca)
Date: 09/19/04
- Next message: Doug Harrison [MVP]: "Re: Doug Harrison, question of your post"
- Previous message: Sigurd Stenersen: "Re: strchr function fails to work properly on Windows 2003 Server"
- In reply to: Brian Birtle: "How to set Timeout with URL Moniker?"
- Next in thread: Brian Birtle: "Re: How to set Timeout with URL Moniker?"
- Reply: Brian Birtle: "Re: How to set Timeout with URL Moniker?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 19 Sep 2004 13:38:29 -0400
"Brian Birtle" <brian_birtle@hotmail.com> wrote in message
news:b5e821b2.0409190455.5639711@posting.google.com...
> We use a URL Moniker to make an HTTP/S request to a script which can
> take sometimes several minutes to execute. It seems like what happens
> is Internet Explorer gives up waiting at some point and terminates the
> request.
>
> It's a silly stupid question, but how can I set the timeout to
> unlimited to avoid this problem? I've been combing the docs and can
> figure out no way to do it. (get pointers to IWinINet, IBindInfo,
> IBindStatusCallback, etc... nope)
>
> Or does someone have another idea about why the problem could be
> occuring? I've tested and our script executes successfully and returns
> a simple "ok" as the HTTP response. The ActiveX control *should* get
> this, but never does. IIS logs indicate success, application state is
> correct, etc... the client just never receives the completion
> notification.
>
> It's an ActiveX control hosted in Internet Explorer and written using
> VC++.NET 2003, ATL COM (no .NET use) However I think the priciple is
> the same if using VB6.
>
> Thanks much,
> - Brian
So if im getting this right, the problem has nothing to do with the
execution of the script
but rather with the http request ? If that's the case then forget about the
script for now and
I suggest 2 test cases:
First, clear the cached files, Wininet uses internet explorer 's cache
system at some level
and since you are trying to test response time, you dont need the cache
settings to interfere.
Then make a request for a new file , of diffrent type like a GIF. This will
test the Moniker.
IF this test results in similar problems, then store another file (any file)
on a new Server,
this time not the IIS, but rather a remote server and try again. Obviously
at this point if you get
again a similar behavior, then we both know the problem is with the
implementation of your
Moniker and not the WinInet APIs themselves. It may be certain FLAGS you
used wrong etc..
cya
- Next message: Doug Harrison [MVP]: "Re: Doug Harrison, question of your post"
- Previous message: Sigurd Stenersen: "Re: strchr function fails to work properly on Windows 2003 Server"
- In reply to: Brian Birtle: "How to set Timeout with URL Moniker?"
- Next in thread: Brian Birtle: "Re: How to set Timeout with URL Moniker?"
- Reply: Brian Birtle: "Re: How to set Timeout with URL Moniker?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|