Best place to store large amounts of session data
- by audiopleb
I'm building an application that needs to store and re-use large amounts of data per session.
So for example, the user selects a large list of list items (say 2000 or significantly more) which have a numeric value as their key then they save that selection and go off to another page, do something else and then come back to the original page and need to load their selections into that page.
What is the quickest and most efficient way of storing and reusing that data? In a text file saved with the session id? In a temp db table? In the session data itself (db sessions so size isn't a limit) using a serialised string or using gzcompress or gzencode?
Any advice or insight would be great!
Thank you!!!!