E
Erick
Hi,
I'm implementing a IHttpModule.
I get the Context object like this:
HttpContext m_HttpContext = (HttpContext)((HttpApplication)
sender).Context);
this is done on the BeginRequest event of the Custom
module when I try to access the following statemen:
m_HttpContext.Request.Path.EndsWith("Login.aspx");
I did not receive any error at the compile or run time but
if I debug and watch this sentence I see this text into
the value field of the watcher.
error: 'm_HttpContext.Request.Path.EndsWith' does not exist
Looks that the EndsWith method is not recongnized for the
Path string object contained into the Request object.
Does any know what is going on?
Regards...
..
I'm implementing a IHttpModule.
I get the Context object like this:
HttpContext m_HttpContext = (HttpContext)((HttpApplication)
sender).Context);
this is done on the BeginRequest event of the Custom
module when I try to access the following statemen:
m_HttpContext.Request.Path.EndsWith("Login.aspx");
I did not receive any error at the compile or run time but
if I debug and watch this sentence I see this text into
the value field of the watcher.
error: 'm_HttpContext.Request.Path.EndsWith' does not exist
Looks that the EndsWith method is not recongnized for the
Path string object contained into the Request object.
Does any know what is going on?
Regards...
..