G
Guest
Redirecting from page to page within a web project is pretty easy. However,
all Redirect methods take strings as arguments, as if you mistype the string,
you don't find out until run time that you are redirecting to somewhere that
doesn't exist.
Worse, if you do type it correctly, but then later the page name changes or
the page moves, you still won't find out until run time.
I have a framework that solves this problem and guarantees, at compile time,
that all redirect attempts to other pages in the web project are valid. I
like it very much. Unfortunately, ASP 2.0 trods all over the solution in a
number of ways and my sites don't even compile in the new framework. So,
before I try to cram my solution (very uncomfortably) into ASP 2.0, I'd like
to know if there is any other well-known solution to this problem.
Thank you.
Greg Smalter
all Redirect methods take strings as arguments, as if you mistype the string,
you don't find out until run time that you are redirecting to somewhere that
doesn't exist.
Worse, if you do type it correctly, but then later the page name changes or
the page moves, you still won't find out until run time.
I have a framework that solves this problem and guarantees, at compile time,
that all redirect attempts to other pages in the web project are valid. I
like it very much. Unfortunately, ASP 2.0 trods all over the solution in a
number of ways and my sites don't even compile in the new framework. So,
before I try to cram my solution (very uncomfortably) into ASP 2.0, I'd like
to know if there is any other well-known solution to this problem.
Thank you.
Greg Smalter