Skip to main content

How to abort the execution of the whole request and redirect to another page from GetPageItemProcessorGetPageItemProcessor Sitecore pipeline processerpipeline processor. I tried a few options but they all make the execution of the request continues to the rendering controller of the item requested. I used WebUtil.Redirect(smsRedirectUrl, false); WebUtil.Redirect(smsRedirectUrl, true);:

WebUtil.Redirect(smsRedirectUrl, false);
WebUtil.Redirect(smsRedirectUrl, true);

I also tried to use "return" with no luck

How to abort the execution of the whole request and redirect to another page from GetPageItemProcessor Sitecore pipeline processer. I tried a few options but they all make the execution of the request continues to the rendering controller of the item requested. I used WebUtil.Redirect(smsRedirectUrl, false); WebUtil.Redirect(smsRedirectUrl, true);

I also tried to use "return" with no luck

How to abort the execution of the whole request and redirect to another page from GetPageItemProcessor Sitecore pipeline processor. I tried a few options but they all make the execution of the request continues to the rendering controller of the item requested. I used:

WebUtil.Redirect(smsRedirectUrl, false);
WebUtil.Redirect(smsRedirectUrl, true);

I also tried to use "return" with no luck

edited tags
Link
Arsany
  • 163
  • 6
Source Link
Arsany
  • 163
  • 6

How to abort the request execution from GetPageItemProcessor (Sitecore 8.2)

How to abort the execution of the whole request and redirect to another page from GetPageItemProcessor Sitecore pipeline processer. I tried a few options but they all make the execution of the request continues to the rendering controller of the item requested. I used WebUtil.Redirect(smsRedirectUrl, false); WebUtil.Redirect(smsRedirectUrl, true);

I also tried to use "return" with no luck