I'm using a third party API to communicate and get data to my module. The module is to get available flight details according to the search query submitted by the user. At this point I'm getting around 10 results via API.
What is the best approach to keep these search results data until the user loggedin?
If I use registry, it may be null some times when I try to access data in some other file. So saving them in the session is the only possible way? Are there any alternatives?