Session vs singleton pattern
- by chobo
Hi, I have a web application where I would like to pull user settings from a database and store them for Global access. Would it make more sense to store the data in a Singleton, or a Session object? What's the difference between the two?
Is it better to store the data as an object reference or break it up into value type objects (ints and strings)?
Thanks!