Differences/best way to navigate thru pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How are the following ways to navigate the site different?
Why are there so many to do the same thing?
Which one is best to follow?

window.href.location = "..."
Server.Transfer("...")
Response.Redirect("...")

Thanks in advance,

Rick
 
Hello,

How are the following ways to navigate the site different?
Why are there so many to do the same thing?
Which one is best to follow?

window.href.location = "..."
Server.Transfer("...")
Response.Redirect("...")

Thanks in advance,

Rick

Hi...

window.herf.location is by using javascript... is good ...
if you dont want to acomplish any job before naviating to other
location..
if you do want to perform some operation before navigation then
response.redirect is good...
because it happens in server... and so you have whole page life cycle
before client control event fires...
well server. transfer is a little bit diffrent... the bellow specified
link have a very good discustion about both
http://www.developer.com/net/asp/article.php/3299641

Thanks
Munna
http://.munnacs.110mb.com
 
Thanks. The link was very interesting.
Are there any security difference in transferring with one or the other?

Thanks in advance,

Rick
 
Back
Top