protected void EndRequest(HttpContext context) { //if (_GetDataContext4 != null) // _GetDataContext4 = null; //if (_GetDataContext3 != null) // _GetDataContext3 = null; if (_GetDataContext2 != null) { _GetDataContext2.Dispose(); _GetDataContext2 = null; } if (_GetDataContext1 != null) { _GetDataContext1.Dispose(); _GetDataContext1 = null; } _connections.ForEach(o => o.Close()); }
protected void EndRequest(HttpContext context) { if (_GetDataContext4 != null) { _GetDataContext4 = null; } if (_GetDataContext3 != null) { _GetDataContext3 = null; } if (_GetDataContext2 != null) { _GetDataContext2.Dispose(); _GetDataContext2 = null; } if (_GetDataContext1 != null) { _GetDataContext1.Dispose(); _GetDataContext1 = null; } Common.WriteCookieValues(); }
protected void EndRequest(HttpContext context) { if (_GetDataContext4 != null) _GetDataContext4 = null; if (_GetDataContext3 != null) _GetDataContext3 = null; if (_GetDataContext2 != null) { _GetDataContext2.Dispose(); _GetDataContext2 = null; } if (_GetDataContext1 != null) { _GetDataContext1.Dispose(); _GetDataContext1 = null; } Common.WriteCookieValues(); }