Using Server.transfermethod
- From: "Henry" <nom@xxxxxx>
- Date: Thu, 15 Jun 2006 11:14:00 +0200
Hello
I'm using server.transfer() to navigate between pages, and I don't
understand why the URL changes while navigating.
My start page is default.aspx and from a button I want to navigate to
frmAdmin.aspx
so in the onClick event I have the following code
Server.Transfer("frmAdmin.aspx", true)
Which transfer me to the required page, so far so good, browser still
displays the URL .../default.aspx
Now I want to navigate back to the default.aspx
then I try to use Server.Transfer("Default.aspx", false)
Now the browser displays the URL .../frmAdmin.aspx, which is exactlly what I
try to avoid and what I thought server.transfer was meant to do.
Am I completlly wrong here?
cheers
Henry
.
- Follow-Ups:
- Re: Using Server.transfermethod
- From: Nathan Sokalski
- Re: Using Server.transfermethod
- Prev by Date: Re: c# to vb.net
- Next by Date: Re: where shoule store the questions and answers
- Previous by thread: Streaming a file to text?
- Next by thread: Re: Using Server.transfermethod
- Index(es):