개발바닥 아방수

언제 Response.Redirect(url, true)를 쓸까? 본문

웹 개발/C#

언제 Response.Redirect(url, true)를 쓸까?

앙큼아기 2022. 12. 16. 14:21

 

 

  • Response.Redirect(URL,false): The client is redirected to a new page and the current page on the server will keep processing ahead. (페이지 이동, 기존 페이지 스레드 계속)
  • Response.Redirect(URL,true): The client is redirected to a new page, but the processing of the current page is aborted. (페이지 이동, 기존 페이지 스레드 죽음)

 

(참고출처) https://stackoverflow.com/questions/6707465/when-should-i-use-response-redirecturl-true