Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

ASP.Net Identity 2.0 Can't Login after One user Logined

$
0
0

I use visual Studio 2013, ASP.Net Identity 2.0, Web Forms Application , I create simple Project Where Session["MySessionVariable"] value set in button click

, after session is set I cannot to login in Page from other browser, same or other user , why whats wrong.
After ISS restart and before session set user login worked fine

Here is my code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class _Default : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Session["MySessionVariable"] = "aq145";
        }
    }
}
Thanks in advance


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>