
OnRequest
Use
OnRequest
is run when a request comes to access the current page. This request can be made in the following ways:See also:
Event HandlersIntegration
OnRequest is the second handler (after
OnCreate) to be called when a BSP is being processed.The only exception to this occurs when a page is recalled in stateful mode without explicit navigation. In this case, OnCreate is skipped and OnRequest is called straight away.
Functions
You can access the following objects in the implementation:
|
Object |
Reference Type |
Description |
|
APPLICATION |
type ref to application class |
Application class refers to the individual application or application class specified in the BSP application. If there is no application class in the BSP application, this means that the object application is not available. |
|
RUNTIME |
type ref to IF_BSP_RUNTIME |
The runtime object is defined in interface IF_BSP_RUNTIME . |
|
REQUEST |
type ref to IF_HTTP_REQUEST |
The request object is defined in interface IF_HTTP_REQUEST. |
|
EVENT_ID |
type STRING |
|
|
NAVIGATION |
type ref to IF_BSP_NAVIGATION |
The navigation object is defined in interface IF_BSP_NAVIGATION. |
|
PAGE |
type ref to IF_BSP_PAGE |
Page object is defined in interface IF_BSP_PAGE. |
|
PAGE_CONTEXT |
type ref to IF_BSP_PAGE_CONTEXT |
Page context object is defined in interface IF_BSP_PAGE_CONTEXT. |
Example
Persistency of Data Using Serverside Cookies