title: apex sessions and application items
body: <p>So, I have a custom log-in function for an apex application. I want to define some custom user specific data once a user is logged in. I've been trying to use the application-level items, and setting the values I need for when the user is able to log-in. I've added the application item in the shared components. Here is a snippet:</p>
  
  <pre><code>apex_util.set_authentication_result(0);
  APEX_UTIL.set_session_state(
      p_name =&gt; 'ACCESS_LEVEL', 
      p_value =&gt; '5'
  );
  </code></pre>
  
  <p>Now, I'm trying to access this variable/value on a page, but when I "run" the app, login and go to the page, the value isn't available in the "View Debug" window. So, am I going about this correctly? Why isn't this working? Is there a better way? </p>