HI Johan,
I have an NT App and used session data all over the place. I added an API which talks to an outside kiosk. After a few iterations I found that the API had ITS OWN SESSION ID and it was NOT the same SESSION ID as the app... interesting, but the remote kiosk interacts with the API on its own thread and has its own session values. So, the p_web session data that I passed to the API procedure from my NT app did not work ( since the API procedure was using its own Session ID. ) After I thought about it a little, it made sense. I had to pass my data into the API via a few fields in a record that was shared by both the API and NT app. It was not worth trying to dig out Session Data by Session ID from the QUEUE.. but, I learned that p_web has scope to it.
Ron