|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Remoting: Problem due to inactivityI have posted in the microsoft.public.dotnet.framework.remoting group but have no response yet. Hence reposting here. Hi, I have a remoted singleton hosted in an NT service. The singleton's InitializeLifetimeService method has been overridden to return null. I "am able" to access the object even after days of inactivity. This singleton holds a hashtable with references to custom objects. When I try to retrieve one of these objects from the hashtable (by calling a remote method on the singleton) after about 4-5 days of inactivity I get a null reference. This custom class does not derive from MarshalByRefObject either. Why is this happening? Are the objects in the hashtable getting garbage collected due to some reason? Can anybody help me out with this? Thanks, Nitin |
|||||||||||||||||||||||