WebService TimeOut does not stop the thread execution

J

Jack Wright

Dear All,
In my Application my WebForm calls a WebService that fires a
query...this query takes a long time to execute as a result my
WebService timesout...but this also results in my WorkerProcess being
recycled...I guess this is a result of mywebservice thread still being
in executing mode...setting the Timeout on my WebForm does not ensure
that the thread in which the WebService is running is killed...Is this
right?
What can be the problem?

Please help.


Thanks & Regards
Jack
 
D

Dan Rogers

Hi Jack

Setting the timeout on the caller form doesn't cause the server thread to abort its processing. In general, an HTTP server has no way to know the client has stopped listening

This is analogous to hitting the little X on your browser when you hit a web server. The server will still try and satisfy the request

If your server is taking a long time to process, you might want to figure out how to make it do less work, respond faster, or time-out on the server side

Dan Rogers
 
J

Jack Wright

Hi Dan,
Thanks for repying...will setting executionTimeout of HTTPRunTime
help...

Thanks & Regards
Sunil
 
J

Jack Wright

Dear All,
I tried setting httpRuntime executionTimeout to
<httpRuntime executionTimeout="10" appRequestQueueLimit="2"/>

But this does not abort the thread...any ideas...

Please help...

Thanks & Regards
Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top