How to get is session IsPersistent on ASP.NET MVC?
<p>I have ASP.NET MVC 5.0 project using ASP.NET Identity. When user log in i use this function to track user by system.</p>

<pre><code>SignInManager.SignIn(user,IsPersistent,false)
</code></pre>

<p>In user profile i have ability to change <code>UserName</code>, after that i need automatically to relogin user to stay user tracking. I logout user and use this function to login, but where i can get <code>IsPersistent</code> property of current session?</p>

<p>I can store IsPersistent in User table on database after each login, but I think this is not the best solution. </p>