remove all active sessions for given uid
Why not just delete the corresonding entries from the sessions table? e.g.
in sql, delete from sessions where uid = &lt;uid&gt;

This won't work if you're using memcache for your sessions table, but I imagine there's an equivalent if you are.