I have built a REST API client to a third party application and I am exposing the VF page to everyone in my org without having them to login to my salesforce application.
I need to maintain a session information of 3rd party application (not salesforce) so that I can use that session ID in my next API call. How do I do that?
Below is an illustration :
Request 1 : invoke a request to third party application API and get session ID Request 2 : Use the session ID and do update in the 3rd party application.
note : I dont want to send session information in response rather I want apex to cache it, use it in my subsequent requests.