A
Ayende Rahien
I've a very annoying problem, I'm using Application_BeginRequest() and
Context.RewritePath to hide query strings.
The problem that I've is that a form that I submit to /Comments/17.aspx has
form action of CommentView.aspx?story=17 (which is where the
Context.RewritePath sent it).
The problem that I'm having is that the end result is that the form end up
being submitted to /Comments/CommentView.aspx?story=17, which doesn't even
exist.
How do I solve it?
I know that I can change Application_BeginRequest() to recognize it, but
surely more elegant way exist.
Context.RewritePath to hide query strings.
The problem that I've is that a form that I submit to /Comments/17.aspx has
form action of CommentView.aspx?story=17 (which is where the
Context.RewritePath sent it).
The problem that I'm having is that the end result is that the form end up
being submitted to /Comments/CommentView.aspx?story=17, which doesn't even
exist.
How do I solve it?
I know that I can change Application_BeginRequest() to recognize it, but
surely more elegant way exist.