I want to develop a website in ASP.NET Web Forms. In this website i want to connect any two online users randomly for a specified time (suppose 30 seconds).
I am thinking to add the users into a temp table(to keep a track of online users) and assign them a random number as soon as they log in and delete them from the temp table on log out.
1.I have no idea how to remove the user from the table on session expire or on browser close.
2.I am not sure how to connect two online users randomly (like in omegle). When User A and User C are connected User B should not be able to connect to "User A and User C"