« Predator Tank - Food Issues | Main | Reef Aquarium Galleries »

.NET never ceases to amaze

http://support.microsoft.com/kb/810218

In essence - when you do a Server.Redirect("SomePage.aspx?SomeParam=SomeValue") .NET conveniently will make that SomeParam persisted over the subsequent requests - i.e. if SomePage.aspx contains a form to be submitted, that form's action will be rewritten to include this param. Neat? No! How do you clear a querystring parameter no longer used? You can't. At least not elegantly.

This is why I prefer J2EE - you have to work harder, but you almost *never* have to implement workarounds to work around unneeded high level features.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on March 8, 2007 11:25 PM.

The previous post in this blog was Predator Tank - Food Issues.

The next post in this blog is Reef Aquarium Galleries.

Many more can be found on the main index page or by looking through the archives.