asp.net - HttpApplication.Request value change while inside Application_AuthenticateRequest -


today got several errors our production web server indicated had null reference while calling request.currentexecutionfilepath.startswith. occurring inside our application_authenticaterequest in global.asax.cs.

after reading of code, found previous line calls request.currentexecutionfilepath.startswith successfully.

so, means me value of request.currentexecutionfilepath has changed 1 line next. how possible? how can prevented/fixed?

does authentication scheme redirect anywhere if auth fails? if so, , if server.transfer instead of response.redirect, imagine case executionfilepath changes, though not null. @ rate, easiest test case try logging in giving incorrect password.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -