Hold session cookie to be available after page refresh and through out application

On successful login, server return a cookie, which is required for any subsequent network calls across all pages. To hold the session cookie and make it available through out, I have added an entity ‘Session Cookie’ and associated it with System.Session object. After refreshing the browser page, the SessionCookie variable becomes empty.   How can I save the cookie so that it is available through-out the application and also after page refresh?
1 answers

I don’t see any reason why it should get cleared. May be you should try committing the object.