This discussion is archived
7 Replies Latest reply: Feb 17, 2013 5:45 PM by vyuvaraj RSS

Redirect to different Page

vyuvaraj Newbie
Currently Being Moderated
I've the following code in PAGE 0 under PL/SQL type.

if uname is not null then

APEX_UTIL.REDIRECT_URL('f?p=&app_id:1:&APP_SESSION.');

else

APEX_UTIL.REDIRECT_URL('http://sldn8019vdor.ldn.swissbank.com:8500/apex/f?p=dpprtool');

end if;


It does not work when uname is not null. I want to re-direct to Page 1 if uname has any value. How can I do ? Am I missing anything here ?

Kindly help me on this issue.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points