Moved System.IO references from DMO classes to Static Helpers
Removed nugetSource from pipeline Removed more comments Created Static Classes for most DMO / Controller Classes Push ConfigurationManager.AppSettings to controller Align Tests with other Projects
This commit is contained in:
@ -63,7 +63,7 @@ public class MvcApplication : System.Web.HttpApplication {
|
||||
protected void Application_EndRequest() {
|
||||
var context = new HttpContextWrapper(Context);
|
||||
|
||||
//Do a direct 401 unauthorized
|
||||
// Do a direct 401 unauthorized
|
||||
if (Context.Response.StatusCode == 301 && context.Request.IsAjaxRequest()) {
|
||||
Context.Response.Clear();
|
||||
Context.Response.StatusCode = 401;
|
||||
@ -79,11 +79,11 @@ public class MvcApplication : System.Web.HttpApplication {
|
||||
}
|
||||
|
||||
protected void Session_End(object sender, EventArgs e) {
|
||||
//FormsAuthentication.SignOut();
|
||||
// FormsAuthentication.SignOut();
|
||||
try {
|
||||
Session[GlobalVars.SESSION_USERNAME] = "";
|
||||
Session[GlobalVars.SESSION_USERID] = "";
|
||||
Session[GlobalVars.IS_ADMIN] = "";
|
||||
Session[GlobalVars.IS_ADMIN] = null;
|
||||
} catch (Exception ex) {
|
||||
Functions.WriteEvent(null, @User.Identity.Name + "\r\n Session Closed - \r\n" + ex.Message.ToString(), System.Diagnostics.EventLogEntryType.Error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user