ClientChannel.OnLoginNeeded not firing for JsonMessage


(Ryan Jantz) #1

Using a WinInetHttpClientChannel a BinMessage throws a SessionNotFoundException which in turn triggers the ClientChannel.OnLoginNeeded event. A JsonMessage however, does not throw a SessionNotFoundException or trigger the ClientChannel.OnLoginNeeded event.


(EvgenyK) #2

set TROJSONMessage.SendExtendedException to true on both sides and retest


(Ryan Jantz) #3

That fixed it. Thanks!