Open this page in the API Guide

ApiControllerBase.GetSessionIdFromCookieHeaderOrProvided Method

Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
protected Guid? GetSessionIdFromCookieHeaderOrProvided(
	Guid? sessionIdFromQueryString
)

Parameters

sessionIdFromQueryString
Type: System.Nullable<Guid>
The session ID, typically from the query string.

Return Value

Type: Nullable<Guid>
A session ID, or null if we weren't able to get one from anywhere.
See Also