[eluser]WanWizard[/eluser]
For those who can't wait, the previous version of my session library.
Note that this one stores the previous session_id in the database (the bit I'm not happy with). It contains several other changes as well, so read the header carefully before using this version.