A Sandcastle Documented Class Library

# WebApiConstants InvalidSessionHttpStatusCode Field

The custom HTTP status code used when the session is invalid in a call. This is using Microsoft's custom 440 HTTP extension code for bad session. We can't return Unauthorized as this will cause the browser to re-prompt for windows authentication (if enabled), which we do not want.

Namespace: Dundas.BI.WebApi
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public const int InvalidSessionHttpStatusCode = 440

    Public Const InvalidSessionHttpStatusCode As Integer = 440

    public:
    literal int InvalidSessionHttpStatusCode = 440

    static val mutable InvalidSessionHttpStatusCode: int

#### Field Value

Type: Int32
Remarks
The value of this constant is 440.
See Also

#### Reference

WebApiConstants Class
Dundas.BI.WebApi Namespace