My asp .net mvc3 web application is facing issue which is application assigning same session id to multiple user login (using different credentials) that use same browser. After a user log-in using some credentials, then the next time he attempts to login with a different credential using another window in the same browser, I want the user to be redirected to the home page of first login just like in facebook. How can I achieve this? I thought of storing session Id of each user in DB and then check if the session ID is already in when a login attempt is made. But this seem to hit application performance. Can anyone tell me what is the best approach to handle this situation?
My asp .net mvc3 web application is facing issue which is application assigning same
Share
Check the property
In your login form. If the user is
IsAuthenticatedthen redirect them to their homepage instead of the displaying/processing the login form.