Skip to Content
Former Member
Oct 10, 2011 at 01:42 PM

Storing and recovering data from HTTP Sessions in Web Dynpro



In our system we are using a HTTP Filter to recover data in our Web Project, which is a Web Dynpro 7.2 DC. The data is a cookie, and its content needs to be used later in WebDynpro context.

We need to acess the HTTP Session in Web Dynpro, or send data to Web Dynpro session from the Filter.

We tried WDScopeUtil.put() method but in filtering time this goes to a NullPointerException (Which we are not surprised since Web Dynpro engine do not start till the filtering is done).

In our research we also tried IWebContextAdapter but this class does not exist in the project library.

Is there a way to access the HTTP Session within Web Dynpro? Any other sugestions will be very appreciated.