Hi!
I have developed many triggers that fire after login. One of them to redirect app to user defined start page.
Now when mobile apps are introduced (Apex 4.2), many things has to be changed in mine logic.
User might have one startup page for mobile and other one for desktop app.
So I have to implement the same logic as it is built in Apex (when user go to app to be redirected to desktop or mobile login page).
Mine question is how to achieve something in PLSQ. Like this code:
IF desktop_ver=1 then
:STARTUP_PAGE = 123;
ELSIF desktop_ver=2 THEN
:STARTUP_PAGE = 1123;
ELSE
:STARTUP_PAGE = 1;
END IF;
Where desktop_ver is something (variable, function or anything else, "1"=desktop, "2"=mobile ... "something else" as not recognized device) that must be able to recognize previously mention device (mobile or desktop) that called the page.
Rg
Damir
Edited by: Damir Vadas on Jan 7, 2013 3:17 AM