daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jun 21st, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // global.asax
  2. void Application_PreRequestHandlerExecute(object sender, EventArgs e)
  3. {
  4.     if (Session == null)
  5.         return;
  6.  
  7.     // if special key is not present then session is expired
  8.     if (Session["filled"] == null)
  9.     {
  10.         if (User.Identity.IsAuthenticated)
  11.         {
  12.             FillSession(Session, User.Identity.Name);
  13.         }
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top