Determining login for a session

Former Member
Former Member $organization

If we have a patron with an existing account who creates a new account through the website, we merge the two records.  This leads to patrons with multiple active logins of the same type.  Is there a query that can tell me which specific login_no (or web username) was used for a particular web session?  I see LoginID in t_web_session_session but it appears to be deprecated.

 

Thanks!

- Levi