By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,290 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,290 IT Pros & Developers. It's quick & easy.

HttpContext.RewritePath Fix??? Asp.net 2.0

P: n/a
It looks like postbacks cause a problem with HttpContext.RewritePath.
I've read about the two solutions below, but the first one seems
extensive, and the scond one seems too easy. I sent an email to the
author of the second one for more info.......but no reply.
http://weblogs.asp.net/jezell/archiv.../15/90045.aspx
http://www.hanselman.com/blog/Commen...35d7f36cb.aspx
Does asp.net 2.0 fix this bug?
And what experience do you have with RewritePath?

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi marcmiles:

Another solution is to rewrite the path back to the original URL after
processing arrives at the ASPX:

Context.RewritePath(Path.GetFileName(Request.RawUr l));
--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Apr 2005 16:04:59 -0700, ma*******@gmail.com wrote:
It looks like postbacks cause a problem with HttpContext.RewritePath.
I've read about the two solutions below, but the first one seems
extensive, and the scond one seems too easy. I sent an email to the
author of the second one for more info.......but no reply.
http://weblogs.asp.net/jezell/archiv.../15/90045.aspx
http://www.hanselman.com/blog/Commen...35d7f36cb.aspx
Does asp.net 2.0 fix this bug?
And what experience do you have with RewritePath?


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.