Guest User

Untitled

a guest
Jun 24th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. string ocKey = "ocm_" + HttpContext.Current.GetHashCode().ToString("x")
  2. Thread.CurrentContext.ContextID.ToString();
  3.  
  4. if (!HttpContext.Current.Items.Contains(ocKey))
  5. {
  6. // Get new Data Context and store it in the HTTP Context
  7. }
Add Comment
Please, Sign In to add comment