B
Bob H
Hi,
I'm aware of the different ways to pass variables between ASP.Net pages. For
pages that need to pass a variable, we're using the server.transfer method.
For others, we're using repsonse.redirect. My understanding was that the
server.transfer method doesn't update the URL address bar. However, I've a
situation that I'm a bit confused about and would appreciate any advice on
why the following is occuring (i.e. why I'm obviously missing something in
all this):
1) Move from Page1.aspx to Page2.aspx via a response.redirect. URL address
bar changes to Page2.aspx.
2) Move from Page2.aspx to Page3.aspx via a server.transfer. URL address bar
stays with Page2.aspx.
3) Move from Page3.aspx to Page4.aspx via a server.transfer. URL address bar
changes to Page3.aspx.
...During the move in point 3, I would have thought that the URL address bar
would stay with Page2.aspx. Is the above the correct behaviour, or is there
something amiss?
Thanks for any advice on this.
Cheers
Bob
I'm aware of the different ways to pass variables between ASP.Net pages. For
pages that need to pass a variable, we're using the server.transfer method.
For others, we're using repsonse.redirect. My understanding was that the
server.transfer method doesn't update the URL address bar. However, I've a
situation that I'm a bit confused about and would appreciate any advice on
why the following is occuring (i.e. why I'm obviously missing something in
all this):
1) Move from Page1.aspx to Page2.aspx via a response.redirect. URL address
bar changes to Page2.aspx.
2) Move from Page2.aspx to Page3.aspx via a server.transfer. URL address bar
stays with Page2.aspx.
3) Move from Page3.aspx to Page4.aspx via a server.transfer. URL address bar
changes to Page3.aspx.
...During the move in point 3, I would have thought that the URL address bar
would stay with Page2.aspx. Is the above the correct behaviour, or is there
something amiss?
Thanks for any advice on this.
Cheers
Bob