global-asax
Why HttpContext.Current.Session is null in Global.asax?
I\'m using VS2010 and created a simple asp. web forms application, using Development Server to test it.[详细]
2023-01-24 23:26 分类:问答Java equivalent to ASP.NET global.Asax
Hi I am new to java and I am developing a java web 开发者_开发百科application i would like to run some code at application start up.[详细]
2023-01-24 03:47 分类:问答What code whould be placed in the application_start and the session_start events in global.asax?
Can you give an example of what might be best suited to place in the Applic开发者_StackOverflowation_Start and Session_Start subroutines?[详细]
2023-01-23 08:48 分类:问答asp.net global.asax Application_BeginRequest
I have a site with multiple domains pointing to it. I wanted to redirect all requests to main domain so I\'ve created a method called RedirectToRealDomain(\"domain.com\") to check and redirect all req[详细]
2023-01-23 06:47 分类:问答Global.asax.cs file is not recompiling--file is valid
I recently refactored some code, and a method the original Global.asax.cs file was depending on was no longer static.When I made changes to my Global.asax.cs code to fix the compilation problem, Visua[详细]
2023-01-19 20:43 分类:问答Global.asax for php
I\'ve been a .Net developer and a Java developer and TBH I liked .Net more when it comes to web (Except that I had to use IIS). Recently I\'ve learned php (Amazingly simple) but I was wondering if in[详细]
2023-01-18 22:28 分类:问答NullReferenceException in Global.asax when referencing Context.User.Identity in Session_Start
When I am debugging an application in ASP.NET, after about ~5 minutes I get a NullR开发者_如何学运维efEx coming from global.asax.cs regarding:[详细]
2023-01-18 12:08 分类:问答Windows Authentication to Custom Authentication working with Profile
I Use windows authentication with profile and wanted to flip to a custom authentication. My question is How can I specify that my user is authenticated and how to set the Profile.UserName.[详细]
2023-01-18 06:15 分类:问答Global.asax file not giving Exception Message
Here\'s my problem I have some code and I\'m using it to send an e-mail with the last error details but all I want is the (Inner)Exception Message to be displayed in the email with the URL[详细]
2023-01-17 17:25 分类:问答global.asax Application_Error not firing
My global.asax seems not to be firing. I have: void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs[详细]
2023-01-16 08:27 分类:问答