This routine will check for the presence of the "mobile flag" cookie.
O4WGetModile()
This function does not accept parameters.
Returns "1" if the currently generating page has been set for the mobile browser, or "0" if the page is for the desktop browser. If a prior page was set to mobile mode, O4WGetMobile() will return "1". For example:
O4WSetMobile routine
* Are we being called while in a mobile environment? bIsMobile = O4WGetMobile() if bIsMobile = "1" then * yes; generate this page in mobile mode as well O4WSetMobile("1") End O4WForm()