Re: Invalid state. Not connected - WeOnlyDo Discussion board

Re: Invalid state. Not connected (General questions)

by Ala', Thursday, May 19, 2005, 10:55 (7127 days ago) @ wodSupport

Ala,

you cannot use Blocking AND events. When you set Blocking = True and execute method from within an event, application freezes - you have noticed that.

But if you use ASP.NET then you MUST use Blocking = True, otherwise your page will be returned to the client before wodSFTP manages to connect in the background! Async behavior doesn't suit you now. Do you agree with me?

I do completely agree with you :).
as for blocking you mean that if I removed the Connected event implementation the application won't freeze without resetting blocking to false?


Complete thread: