I apologize in advance for not including any code in this one as the question is so unusual I was unable to find any decent information about it and I have a hard time wrapping my head around it as well. I also apologize if the question displays such a ludicrous lack of understanding on my part, that you sprained something laughing...
Imagine, if you will, a "multiplayer" web page. There's a login page, user can log in, his or her name gets displayed somewhere, cookie is set. So far, no rocket science.
Now let's take it a little further: once the user is logged in, a SECOND user should be able to log in and his or her username should be displayed as well, on the other half of the page, let's say.
Let's assume for a moment that they each get a half page to work with, that way you have a visual idea of what that would be like. It's like opening two text editors next to each other, let's say.
So... how do I approach this? Do I write a proverbial
ApplicationSignInManager.MultiSignIn(ApplicationUser user)
then another
AuthenticationManager.SignIn
and just rewrite the whole shebang beneath it until I get a cookie with two users in it? Is it really that straightforward? (I'm using ASP.NET MVC 5 by the way)
Or is my understanding so lacking that I shouldn't even consider this?
The thing is: the use case is there. I need to build it, any which way. I just can't figure out how to approach it... can you?
EDIT:
- There will always be a finite number of people interacting with this web page. Let's assume, for the moment, a maximum of 2.
- YES, these two people will be on the SAME computer, each interacting with only their OWN half of the screen.