Difference between Response.Redirect and Response.RedirectPermanent

Posted by Sumit.Bundiwal under ASP.NET on 10/22/2012 | Points: 10 | Views : 6309 | Status : [Member] | Replies : 5
Difference between Response.Redirect and Response.RedirectPermanent ?

sumit bundiwal


Responses

Posted by: Rickeybglr on: 10/23/2012 [Member] Starter | Points: 25

Up
0
Down
Hi a very nice question.

there si only performance wise difference and used in search engine.
response.redirect is used when u want to create index of all previous pages which u already traversed.
response.redirectpermanent can't create index of previous page it jus got permanent tranfer. menas ur Url is transfered to new url permanently


Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Seng2hs on: 10/23/2012 [Member] Starter | Points: 25

Up
0
Down
Response.Redirect() :

Search Engine will take this redirection as Temporary(Status 301) and always keep first page in its cache.

2. Response.RedirectParmanent() :

Search Engine will take this a permanent redirection(Status 302) and will remove first page from its database and include second page for better performance on search.

useage:

Response.Redirect used when your page is temporarily changed and will again be reverted to original within a short time.

Response.RedirectParmanent() when you are thinking of deleting the original page totally after the search engines changes its database.




Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sourabh07 on: 10/23/2012 [Member] Starter | Points: 25

Up
0
Down
hi..to all

I am little bit confused in this....

if both are performing the same functionality. So, why there is need of creating two different methods.

hi Seng2hs , please describe briefly, I am not getting you because the original page in both the cases gets equally effected.


Sourabh07

Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pandyamanav on: 11/30/2017 [Member] Starter | Points: 25

Up
0
Down
Hello

Response.redirect : it transfers you to one page to another page and vice-varsa

Response.redirectpermanent : it transfer you to one page from another , but it does not allow you to revert back

Ex: this scenario is used in most of banking transaction

Thanks
Manav Pandya


Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Itunesupport on: 5/21/2018 [Member] Starter | Points: 25

Up
0
Down
iTune Support Number +1-800-712-0806 convey guaranteed support to help you in refreshing all iTunes things on a standard reason for smooth working. We have an aim to develop an error-free Apple Macbook user experience and we are working on it 24*7. Reach us at the Macbook Customer Service number and get your personal computer performing in top notch condition. http://www.macbookcustomerservice.com/services-support/itunes-support/

Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response