I have spent the last 3.5 hours working on some (PHP) code that did not do as was expected/desired due to finding that all the multiple purpored internet answers, including some referenced on SO itself, was seriously deficient in various respects.
I have now found my own (general) solutions but feel that the wider internet doesn't have the correct information on this issue. The issue being how to store PHP session data in a database. There are answers all over the place (several of them with their own incorrect syntax / issues ) and generally all following the same pathline, but the current solutions I have found are suffering for at least 2 fundamental issues that are not addressed anywhere I can find and so my query on the meta is this:
Is it a suitable action to post a question solely so that I can then post my own answer?
Something like question being "how do I use a database to store my sessions" and the answer being all the useful nuggets I've found on this issue while it's relatively fresh in my mind.
Qualifier: Other questions (the few there are) on SO on the same subject are quite old and I don't think I should be digging them up as they're significantly more specific to the situation(s) of the Question Poster.
(Yeah, I would put this on a blog if I had a blog but I don't and StackOverflow is the right crowd to learn from these issues)