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)
Syntaxprotected Guid? GetSessionIdFromCookieHeaderOrProvided(
Guid? sessionIdFromQueryString
)
Protected Function GetSessionIdFromCookieHeaderOrProvided (
sessionIdFromQueryString As Guid?
) As Guid?
protected:
Nullable<Guid> GetSessionIdFromCookieHeaderOrProvided(
Nullable<Guid> sessionIdFromQueryString
)
member GetSessionIdFromCookieHeaderOrProvided :
sessionIdFromQueryString : Nullable<Guid> -> Nullable<Guid>
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