Hi!
I have made a custom mysql session class and it works seamlessly.
However, I store all session variables in a session mysql table. In fact, this mysql session table is quite big (35 cols). That is needed to store all variables for the logged in users. Please note that I still have to have a tiny cookie storing the session id of course!
BUT
Wouldn't it be better to only store the session id and user uid in the database, and all the other fields (or session vars, parameters, ... call it what you want) in cookies??
=> Should I make 1 big cookie storing all the remaining 33 session fields (some hold up to 5k of text), or should I create multiple cookies to distribute the load?
If the cookies is very big, is there a risk the user computer will not accept it?
Thank you for your thoughts.