Differences/best way to navigate thru pages

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
 
M

Masudur

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
 
G

Guest

Thanks. The link was very interesting.
Are there any security difference in transferring with one or the other?

Thanks in advance,

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top