session hanling in web api 2
protected void Application_PostAuthorizeRequest()
{
HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required);
}
give this method global.cs
No comments:
Post a Comment