Aliendreamer

some tweaks

Oct 21st, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1.   protected void SignIn(IIdentity auth)
  2.         {
  3.             if (this.Request.Session.ContainsParameter("auth"))
  4.             {
  5.                 this.Request.Session.ClearParameters();
  6.             }
  7.  
  8.             this.Request.Session.AddParameter("auth", auth);
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment