Hiding The Web Page Name in The AddressBar in ASP 2.0
hi,
i am developing one web site in ASP net 2.0 , Like
http://abc.com
but when i click one page it is coming like this http://abc.com/mydetails.aspx
but i want whenever i will click any link it should come
http://abc.com/
means page name should not show to user ,
please if any body help me i will be thankful to you ... i want with example ..
thanks
Re: Hiding The Web Page Name in The AddressBar in ASP 2.0
Re: Hiding The Web Page Name in The AddressBar in ASP 2.0
i appreciate ur quick response. but as a novice to asp.net, i'm expecting a simple method. So please post a simple way to do this.
thanks
Re: Hiding The Web Page Name in The AddressBar in ASP 2.0
You cannot find a simple method for complicated situations. What you're trying to do is have www.example.com for all of your pages. Aside from it being a bad idea in terms of usability, it calls for crude 'workarounds' to get this working.
The most common way to do this is to use frames, with an outer frame always at www.example.com and the inner frames going to www.example.com/mypage.aspx.
Other methods to do this involve using Server.Transfer for all hyperlinks - meaning that all hyperlinks need to be LinkButtons that go to whatever URL via a Server.Transfer.