dani
10-10-2008, 12:24 PM
Hello,
I have installed a dream server as a HttpHandler in Asp.Net, and looking at the log messages it seems that the class HttpHandler is created 2 times and each time the IDreamEnvironment is also created.
I think that the problem is in SyncRoot and _env, which are defined as
private object SyncRoot = new object(); (httphandler.cs, line 48)
private IDreamEnvironment _env;
and maybe should be
private static object SyncRoot = new object();
private static IDreamEnvironment _env;
Is that correct?
I have installed a dream server as a HttpHandler in Asp.Net, and looking at the log messages it seems that the class HttpHandler is created 2 times and each time the IDreamEnvironment is also created.
I think that the problem is in SyncRoot and _env, which are defined as
private object SyncRoot = new object(); (httphandler.cs, line 48)
private IDreamEnvironment _env;
and maybe should be
private static object SyncRoot = new object();
private static IDreamEnvironment _env;
Is that correct?