Advertisement
Ortund

Untitled

Aug 18th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. public void validator()
  2. {
  3.     String value = Session["email"] as string;
  4.     if (!QueryClass.DevMode)
  5.     {
  6.         if (String.IsNullOrEmpty(value))
  7.         {
  8.             Response.Redirect("~/Accounts/login.aspx?session=1");
  9.         }
  10.         else
  11.         {
  12.  
  13.         }
  14.     }
  15.     else
  16.     {
  17.  
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement