Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string ocKey = "ocm_" + HttpContext.Current.GetHashCode().ToString("x")
- Thread.CurrentContext.ContextID.ToString();
- if (!HttpContext.Current.Items.Contains(ocKey))
- {
- // Get new Data Context and store it in the HTTP Context
- }
Add Comment
Please, Sign In to add comment