Skip to main content

OnPreHTTP Method

All of which is a long way of explaining why we need to add our code to the OnPreHTTP method. Let's do it.

We return to the TicketConfirm class definition and override the default implementation of OnPreHTTP (provided by the %CSP.PageOpens in a new tab class). On the Studio menu bar click [Class] > [Refactor] > [Override] and then click the Methods tab:

generated description: onprehttpmethod1a 20111

We click on “OnPreHTTP”, and press the OK button to override this method...

FeedbackOpens in a new tab