D
dodgeyb
newbie to asp.net url rewriting and need help understanding.
if I simply add to global.asax file :
Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e
As System.EventArgs)
If InStr(Request.CurrentExecutionFilePath,
"userfriendlyurl.aspx") Then
Context.RewritePath("realurl.aspx", False)
End If
End Sub
This appears to work fine.
what relevance / need is there to involve httpHandlers or
httpModules ?
cheers
Chris
if I simply add to global.asax file :
Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e
As System.EventArgs)
If InStr(Request.CurrentExecutionFilePath,
"userfriendlyurl.aspx") Then
Context.RewritePath("realurl.aspx", False)
End If
End Sub
This appears to work fine.
what relevance / need is there to involve httpHandlers or
httpModules ?
cheers
Chris