Limit user login sessions?

Would it be possible to limit a user how many times they can login at once?

Either if it could be set globally or per user or using some proxy to examine http headers and limit based on that would be OK.

Any suggestions, I would appreciate it.

Many thanks,

This correlates to