 | ScribuntoEvaluationResultIsNewSession Property |
This is preliminary documentation and is subject to change.
Whether the server indicates this session ID is new.
Namespace: WikiClientLibrary.ScribuntoAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax[JsonPropertyNameAttribute("sessionIsNew")]
public bool IsNewSession { get; init; }
<JsonPropertyNameAttribute("sessionIsNew")>
Public Property IsNewSession As Boolean
Get
Set
Dim instance As ScribuntoEvaluationResult
Dim value As Boolean
value = instance.IsNewSession
instance.IsNewSession = value
public:
[JsonPropertyNameAttribute(L"sessionIsNew")]
property bool IsNewSession {
bool get ();
void set (bool value);
}
[<JsonPropertyNameAttribute("sessionIsNew")>]
member IsNewSession : bool with get, set
Property Value
Boolean
Remarks
Note that as of MW 1.34, this property is true only
if the session with is just created,
or the session has been lost on server (e.g. due to session timeout).
If you resets/clears the session, which does not change the session ID,
this property will be false.
See Also