- Steps
7. 初回ログイン時、パスワード変更画面へリダイレクト
-Home画面のロード時にパスワード変更画面へリダイレクトさせる
-初回ログインかどうかは、PWD_EXPIREで判定
#HOME画面にProcessを追加
#Source :OWA_UTILのリダイレクトを使うThis file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersDECLARE l_flag number := 0; BEGIN SELECT PWD_EXPIRE into l_flag from USERMASTER WHERE upper(USERNAME) = upper(:APP_USER); IF l_flag = 1 THEN htp.init; -- OWA_UTIL呼ぶには必要らしい owa_util.redirect_url('f?p=&APP_ID.:4:&APP_SESSION.'); -- &APP_ID.:<page no>:&APP_SESSION. apex_application.stop_apex_engine; ELSE NULL; END IF; END;
Oracle Application Express Notes | Apps development Notes | Google Cloud Platform | Python | apps test | Cool Beans | English | Books
2016/05/10
7.初回ログイン時、パスワード変更画面へリダイレクト :APEX ID/PASSWORD認証機能 - カスタム編 -
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿