8f2155fec3404d6fc00e343ddfa81169749d0b4a
FAQ/Questions/modifying-rs.aspx.md
| ... | ... | @@ -8,7 +8,7 @@ The rs.aspx page is a placeholder page that interfaces with the response server, |
| 8 | 8 | |
| 9 | 9 | ##Custom redirects |
| 10 | 10 | |
| 11 | -You can create a subclass of the ``ResponseServer`` class and override the ``PreOnInit()`` method. Then you can, for instance, check if the querystring is blank and redirect if it is. Then all you must do is change the ``inherits=`` line in the page directive from the default ResponseServer to your custom ResponseServer. |
|
| 11 | +You can create a subclass of the ``ResponseServer`` class and override the ``OnPreInit()`` method. Then you can, for instance, check if the querystring is blank and redirect if it is. Then all you must do is change the ``inherits=`` line in the page directive from the default ResponseServer to your custom ResponseServer. |
|
| 12 | 12 | ```csharp |
| 13 | 13 | <%@ Page language="c#" AutoEventWireup="false" Inherits="Izenda.AdHoc.ResponseServer, Izenda.AdHoc"%> |
| 14 | 14 | ``` |