Re: Address bar
- From: "Peter" <peterpao@xxxxxxx>
- Date: Tue, 16 Jun 2009 15:07:39 +0800
Thanks Gregory for your detail explanation
Peter
"Gregory A. Beamer" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message
news:Xns9C2B610202783gbworld@xxxxxxxxxxxxxxxx
"Peter" <peterpao@xxxxxxx> wrote in
news:eeWvRKr6JHA.3860@xxxxxxxxxxxxxxxxxxxx:
Hi
I have a default.aspx page that will be loaded when user hit the / of
my application root folder. In the page I have hyperlinks that will
bring users to other pages. I would like to know how should I change
my default.aspx page to make the address shown on the address bar
remains unchanged but the page will actually display other pages. In
the old days of HTML, I could use frames to create different frames to
allow those new pages to be displayed on but this seems kind of dump
using frames nowadays. Any easier way in asp.net to archieve this ?
There are numerous ways to solve this, depending on your needs. Frames
are one. Running your links through a page that server redirects is
another, but it is very crude. If you are in the ASP>NET 3.5 age, you
can get the URL re-routing bits (SP1) and use rerouting to hide the
actual page.
Realistically, the page showing up should not matter if your security is
configured correctly. What I mean here is you should be authenticating
users when they hit the page. If hiding is your method of securing a
resource, someone will hack it (trust me on this one).
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************
.
- Follow-Ups:
- Re: Address bar
- From: Gregory A. Beamer
- Re: Address bar
- References:
- Address bar
- From: Peter
- Re: Address bar
- From: Gregory A. Beamer
- Address bar
- Prev by Date: RE: Databinding error using LINQDatasource with stored procedure
- Next by Date: Document markup language version question
- Previous by thread: Re: Address bar
- Next by thread: Re: Address bar
- Index(es):
Relevant Pages
|