However, now that I am using the same page on an ASP.Net 2.0 site I am
seeing a different behaviour. The state.aspx file is still called and the
correct content (based on id=ca) is displayed. However, the address bar
displays the URL to PageNotFound. aspx - /vdir/california is not displayed.
How can I ensure that the actually URL used by the visitor remains in the
address bar, even when Server.Transfer is used?
Thanks.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************
"Mark" <Ma...@discussions.microsoft.com> wrote in message
news:46722444-AB78-4C7F...@microsoft.com...
So, to sum this up, the only error is the regular 404 (page not found) I am
anticipating and coding for. But I can't stop the pagenotfound.aspx file
showing up in the address bar.
Thanks.
Mark
http://<site>/misc/pagenotfound.aspx?aspxerrorpath=/articles/songs.aspx
What I expect to see in the address bar is:
http://<site>/articles/songs.aspx
which is what happens on my ASP.Net 1.1 site.
Any ideas?
Thanks.