The difference between Server.Transfer and Response.Redirect in ASP.NET
Server.Transfer processes the page from one page directly to the next page without making a round-trip back to the client’s browser. This way is faster, with a little less overhead on the server. However, it does not update the clients URL history list or current URL.
Response.Redirect, as expected, is used to redirect the user’s browser to another page or site. It does perform a trip back to the client where the client’s browser is actually redirected to the new page. The browser history list is updated to reflect the new address.
Comments (77)
thank u for useful info…..but if server.transfer is a better is that means we don’t have to use response.redirect any more?
Well, it depends on your case. Because you can’t use query string in Server.Transfer, so this is not the perfect solution after all.
hi,
you can use query string with server.transfere if you set the preserveForm param to true.
and I consider 2 functionality is diff. it’s not the same sport :))
if you are trying to pass an object to the another page. using the httpcontext. you cant use redirect thing.
also server.transfer can’t send the user to external site.
simply redirect tells the browser to visit another page.
Wonderful website you have here but I was wondering if you knew of any community forums that cover the same topics talked about
here? I’d really like to be a part of online community
where I can get responses from other experienced
individuals that share the same interest. If you have any
suggestions, please let me know. Appreciate it!
Greetings from Ohio! I’m bored to death at work so I decided
to check out your blog on my iphone during lunch break.
I love the knowledge you provide here and can’t wait to take a look when I get home.
I’m shocked at how fast your blog loaded on my phone ..
I’m not even using WIFI, just 3G .. Anyways, very good blog!
Hi, Neat post.
Nice post. I used to be checking constantly this blog and I am impressed!
Very useful information particularly the last section 🙂
I deal with such information a lot. I was seeking this certain info for a long time.
Thanks and good luck.
We are a group of volunteers and starting a new scheme in our community.
Your web site provided us with helpful info to work on. You
have done an impressive task and our whole group shall be thankful
to you.
you’re really a good webmaster. The site loading speed
is amazing. It sort of feels that you’re doing any distinctive trick.
Moreover, The contents are masterpiece. you have performed a wonderful activity on this matter!
I blog quite often and I truly appreciate your
content. This article has truly peaked my interest.
I am going to bookmark your blog and keep checking for new
information about once per week. I subscribed to your RSS feed
as well.
When I initially left a comment I appear to have clicked
the -Notify me when new comments are added- checkbox and now
every time a comment is added I receive 4 emails with the exact same comment.
Perhaps there is an easy method you are able to remove me from that service?
Cheers!
Hey Hassan,
There is no Notify me checkbox.
Please send us a screen shot of you are seeing and also a screen shot of the emails you are getting.
It’s a pity you don’t have a donate button! I’d certainly donate to this outstanding blog!
I suppose for now i’ll settle for book-marking and
adding your RSS feed to my Google account. I look forward
to new updates and will share this blog with my Facebook group.
Chat soon!
Thank you Lucio. But we decided to make this blog free as a contribution to the software community around the world.
I have been exploring for a little for any high-quality articles or weblog posts on this kind of area .
Exploring in Yahoo I eventually stumbled upon this web
site. Studying this information So i’m satisfied
to exhibit that I have an incredibly good uncanny feeling I discovered exactly what I
needed. I most undoubtedly will make certain to don?t omit this site and provides it a glance
on a continuing basis.
I am really loving the theme/design of your website.
Do you ever run into any web browser compatibility issues?
A number of my blog audience have complained about my site not operating correctly
in Explorer but looks great in Opera. Do you have any tips to help fix this issue?
Excellent web site. Lots of useful information here.
I am sending it to a few friends and also sharing it.
And obviously, thank you in your effort!
Hi there! I know this is somewhat off-topic however I had to ask.
Does running a well-established blog like yours take a large amount of work?
I’m completely new to running a blog but I do write in my diary everyday.
I’d like to start a blog so I will be able to share my personal
experience and feelings online. Please let me
know if you have any kind of suggestions or tips for new aspiring blog owners.
Appreciate it!
I like the valuable info you provide in your articles.
I’ll bookmark your blog and check again here regularly.
I am quite certain I will learn lots of new stuff right here!
Good luck for the next!
Way cool! Some extremely valid points! I appreciate you penning this write-up and also
the rest of the site is also very good.
I wanted to thank you for this great read!! I definitely loved every bit of
it. I have got you book-marked to check out new things
you post…
You should be a part of a contest for one of the finest blogs
online. I am going to highly recommend this site!
Informative article, just what I wanted to find.
Excellent post. I used to be checking continuously this blog and I am inspired!
Very helpful info specially the ultimate section 🙂
I deal with such information a lot. I used to be looking for this certain information for
a very long time. Thanks and best of luck.
Appreciate this post. Let me try it out.
You’re so cool! I do not suppose I’ve read through
something like that before. So good to discover another person with
a few original thoughts on this topic. Really.. thank you for starting this
up. This website is one thing that is required on the internet, someone with a little originality!
Hey there, I think your site might be having browser compatibility issues.
When I look at your blog site in Chrome, it looks fine but when opening in Internet
Explorer, it has some overlapping. I just wanted to give you a quick heads up!
Other then that, wonderful blog!
This post is in fact a nice one it assists new the web viewers, who are
wishing for blogging.
Hello, I enjoy reading through your article.
I wanted to write a little comment to support you.
I think everything published was actually very reasonable.
But, what about this? suppose you added a little content?
I ain’t saying your content is not solid., but what
if you added a headline that makes people want
more? I mean The difference between Server.Transfer and Response.Redirect
in ASP.NET | Nile Bits is a little plain. You should peek at Yahoo’s front page and watch how they write article headlines to get
viewers to open the links. You might try adding a video or a picture or
two to get people excited about everything’ve got to say.
Just my opinion, it might bring your blog a little livelier.
This piece of writing is actually a fastidious one it assists new internet
people, who are wishing in favor of blogging.
This design is incredible! You definitely know how to keep a reader amused.
Between your wit and your videos, I was almost moved to start my own blog
(well, almost…HaHa!) Wonderful job. I really enjoyed what
you had to say, and more than that, how you presented it.
Too cool!
Appreciate the recommendation. Let me try it out.
Hey! Someone in my Myspace group shared this website with
us so I came to look it over. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers!
Great blog and wonderful design and style.
I like it when individuals get together and share opinions.
Great site, keep it up!
Very good write-up. I absolutely love this site.
Keep writing!
You actually make it appear so easy together with your presentation but I in finding
this topic to be actually one thing that I believe I would by no
means understand. It kind of feels too complex and very large for me.
I’m taking a look ahead on your next publish, I will attempt to get
the grasp of it!
Woah! I’m really loving the template/theme of this
website. It’s simple, yet effective. A lot of times it’s
difficult to get that “perfect balance” between usability
and visual appeal. I must say you have done a excellent job with this.
Also, the blog loads extremely quick for me on Chrome.
Excellent Blog!
An impressive share! I’ve just forwarded this onto a friend who
has been doing a little research on this. And he in fact bought me breakfast due to the fact
that I discovered it for him… lol. So let me reword this….
Thanks for the meal!! But yeah, thanks for spending the time to discuss
this topic here on your internet site.
Greetings! This is my first visit to your blog!
We are a team of volunteers and starting a new project in a community in the same niche.
Your blog provided us beneficial information to work
on. You have done a outstanding job!
Hi, There’s no doubt that your web site could
be having internet browser compatibility problems.
When I look at your site in Safari, it looks fine however when opening in I.E., it’s got some overlapping issues.
I simply wanted to give you a quick heads up!
Besides that, fantastic blog!
Hi there I am so happy I found your weblog, I really found you by mistake, while I was looking on Askjeeve for something else, Regardless I am here now
and would just like to say many thanks for a marvelous post and a all round thrilling blog (I also love the theme/design), I don’t have time to browse it all at
the moment but I have bookmarked it and
also included your RSS feeds, so when I have time I will be
back to read a great deal more, Please do keep up the superb work.
I’ve been surfing online greater than three hours these days, but I by no means
discovered any interesting article like yours. It is lovely value
sufficient for me. Personally, if all site owners and bloggers made excellent content as you did,
the web will be much more useful than ever before.
This is a topic which is near to my heart… Cheers!
Exactly where are your contact details though?
Fascinating blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple adjustements would really make my blog jump out.
Please let me know where you got your theme. Many thanks
Aw, this was an incredibly good post. Taking
the time and actual effort to make a very good article… but
what can I say… I procrastinate a whole lot and don’t manage to
get nearly anything done.
This paragraph provides clear idea in support of the new viewers of blogging, that actually how to do
running a blog.
It’s remarkable to pay a visit this website and reading the views of all friends concerning this piece of
writing, while I am also keen of getting experience.
I think everything said made a great deal of sense.
However, what about this? what if you were to write a awesome headline?
I am not suggesting your information isn’t good., but suppose you added
something that makes people want more? I mean The
difference between Server.Transfer and Response.Redirect in ASP.NET | Nile Bits is kinda
plain. You could look at Yahoo’s front page and watch
how they create article headlines to get viewers to click.
You might add a related video or a related pic or two to get readers excited about everything’ve got to say.
In my opinion, it could make your blog a little livelier.
I was suggested this web site by my cousin. I’m now not certain whether or not this put up is written by means of
him as nobody else understand such special approximately
my problem. You are wonderful! Thank you!
This is a topic that is near to my heart… Many thanks!
Exactly where are your contact details though?
It’s a shame you don’t have a donate button!
I’d definitely donate to this brilliant blog!
I suppose for now i’ll settle for book-marking and adding your
RSS feed to my Google account. I look forward to brand new updates and will talk about this blog with my
Facebook group. Chat soon!
Howdy! This is my first visit to your blog!
We are a group of volunteers and starting a new project in a community in the
same niche. Your blog provided us beneficial information to
work on. You have done a wonderful job!
Hi my friend! I wish to say that this post is amazing, nice written and include almost all important infos.
I would like to peer more posts like this .
Thanks for sharing your thoughts about website.
Regards
whoah this weblog is magnificent i really like studying your articles.
Stay up the great work! You know, lots of individuals are searching round for this information, you can aid them greatly.
I every time spent my half an hour to read this blog’s articles or reviews every day along
with a mug of coffee.
Wow! After all I got a blog from where I know how to
really take useful information regarding my study and knowledge.
Your mode of describing all in this paragraph is in fact nice, every one be capable of without difficulty be aware of it, Thanks a lot.
Quality articles or reviews is the key to be a focus for the viewers to pay a quick visit the website,
that’s what this web site is providing.
It’s remarkable to go to see this web page and reading the
views of all colleagues concerning this paragraph, while I am
also zealous of getting experience.
Attractive part of content. I simply stumbled upon your weblog
and in accession capital to say that I get actually enjoyed account your weblog posts.
Anyway I’ll be subscribing in your augment and even I success you access
persistently rapidly.
Hello would you mind sharing which blog platform you’re using?
I’m planning to start my own blog in the near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique.
P.S Sorry for getting off-topic but I had to ask!
Platform we are using is WordPress.
Hi there! This post couldn’t be written any better! Reading through this post
reminds me of my old room mate! He always kept chatting about this.
I will forward this article to him. Fairly certain he will have a
good read. Thank you for sharing!
This design is steller! You most certainly know
how to keep a reader entertained. Between your wit and
your videos, I was almost moved to start my own blog
(well, almost…HaHa!) Fantastic job. I really enjoyed
what you had to say, and more than that,
how you presented it. Too cool!
I like looking through an article that will make people think.
Also, thanks for allowing me to comment!
Its such as you learn my mind! You seem to know a lot approximately this,
like you wrote the e-book in it or something.
I believe that you simply can do with some p.c.
to force the message house a bit, however instead of that, that is great blog.
A great read. I will certainly be back.
I’m extremely impressed with your writing
skills as well as with the layout on your weblog. Is this a paid theme or did you modify it yourself?
Anyway keep up the excellent quality writing, it’s
rare to see a great blog like this one today.
I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
I’ll go ahead and bookmark your site to come back later on. Cheers
Exceptional post however , I was wondering if you
could write a litte more on this subject? I’d be very grateful
if you could elaborate a little bit further.
Thank you!
What’s up, just wanted to mention, I loved this post.
It was helpful. Keep on posting!
Post writing is also a excitement, if you be acquainted with after that you can write or else it is difficult to write.
This blog was… how do you say it? Relevant!! Finally I have found
something that helped me. Thanks a lot!
Very descriptive post, I enjoyed that bit. Will there be a part 2?
Machos Gracias for your blog post. Really looking forward to read more. Keep writing.
Really enjoyed this blog post. Thanks Again.