terminate sessions via sql

SUGGESTED

Looking to see if there would be a way to let users terminate "their" hung sessions by showing them their open sessions where they could delete them - this would most likely be a front facing web app that would talk to the sage sql db and set a flag or delete a sessions table of the user- something like that.

thanks.