I\'ve configured my web application to use database instead of file to store sessions. So far so good.
I could store a pair of key value easily like this: