void application_PreSendRequestHeaders(object sender, EventArgs e) { HttpApplication application = (HttpApplication)sender; IFormsAuthenticationService authenticationService = IocContainer.Instance.Resolve <IFormsAuthenticationService>(); authenticationService.SlideExpire(application.Context); }