Facebook.CookieSessionStore.CookieSessionStore C# (CSharp) Method

CookieSessionStore() public method

Initializes a new instance of CookieSessionStore class with specified HttpContext and IAuthContext
either or is null.
public CookieSessionStore ( [ httpContext, [ authContext ) : System
httpContext [ The http context the response of which is used to store the cookie with session data.
authContext [ The authentication context.
return System
        public CookieSessionStore([NotNullAttribute] HttpContext httpContext, [NotNullAttribute] IAuthContext authContext)
        {
            if (httpContext == null)
                throw FacebookApi.Nre("httpContext");
            if (authContext == null)
                throw FacebookApi.Nre("authContext");

            _httpContext = httpContext;
            _authContext = authContext;
        }
CookieSessionStore