Gets or sets maximum duration of a session (in seconds). When this duration expires, a session renegotiation occurs.

Namespace:  Rebex.Net.Servers.Core
Assembly:  Rebex.FileServer (in Rebex.FileServer.dll)

Syntax

Visual Basic
Public Property MaxSessionDuration As Integer
	Get
	Set
C#
public int MaxSessionDuration { get; set; }

Remarks

Setting the value to 0 or -1 disables session renegotiation based on duration. Minimum allowed duration is 300 seconds. Recommended value is 86400 (1 day).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also