sql - Keeping track of user ID with custom authentication -


i making app on apex.oracle.com, , i've been trying solve couple hours now, have no idea how to.

alright, application has custom authentication based on user table created inside of application. therefore, seems render useless apex_util functions retrieve info on current user. issue is, trying find way store user's numeric id table in session, retrieve directly in queries throughout application, in order where id = :member_id instead of where upper(username) = upper(:app_user).

now, way attempted creating post authentication procedure retrieves user id based on username, , stores value in session using apex_util.set_session_state( p_name => 'member_id', p_value => member_id ). however, seems set_session_state unable create custom session values or something, returning err-1002 every time use value name isn't mentioned in documentation.

i total newbie apex unaware of something, have done many searches, not find related issue.

thanks lot if can help.

you're trying store value item, whether page or application level. requires item name exists in 1 of scopes. so, have item somewhere called member_id?
i'd suggest create 1 in application scope. go through shared components > application items. once created, should able assign value either through apex_util.set_session_state or bind variable syntax eg :member_id := somevariable;


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -