Skip to Content
author's profile photo Former Member
Former Member

Context variables in a HTTP session

When I launch a web dynpro in the browser I save all the information in the context variables in the controller. Upon reloading the web dynpro all the context variables that were saved are all lost even though we're on the same HTTP session. Is there a way to keep the context variables saved up for a HTTP session?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2011 at 08:48 PM

    Dear Faraz,

    Not sure.

    But one workaround could be to store the variables temporary on a KM document.

    I once saw this solution on a client. (it stored simple variables such as flags, numbers, etc...)

    It was for temporary variables and it did the job pretty well.

    Maybe could be an alternative for what you're looking for.

    Kind Regards

    /Ricardo Quintas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      I know it's bit off the route.. But you can try using cookies..

      You can even secure the data by encrypting/decrypting the content in the cookies and delete the cookies upon session expiry/window closing..



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.