public HttpContextHolder(long session)
    {
        string version = SessionManager.Default.GetVersion(session);
        this._Version = version == null ? "ENG" : version;

        this._TradingConsoleServer = Application.Default.TradingConsoleServer;
        this._AsyncResultManager = Application.Default.AsyncResultManager;

        this._Token = SessionManager.Default.GetToken(session);
        this._TradingConsoleState = SessionManager.Default.GetTradingConsoleState(session);
    }
    public HttpContextHolder(Session session)
    {
        string version = SessionManager.Default.GetVersion(session);

        this._Version = version == null ? "ENG" : version;

        this._TradingConsoleServer = Application.Default.TradingConsoleServer;
        this._AsyncResultManager   = Application.Default.AsyncResultManager;

        this._Token = SessionManager.Default.GetToken(session);
        this._TradingConsoleState = SessionManager.Default.GetTradingConsoleState(session);
    }