You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
706 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Estsh.Core.Config
{
/// <summary>
/// Session配置模型。
/// </summary>
public class SessionConfig
{
/// <summary>
/// 会话路径
/// </summary>
public string CookiePath { get; set; }
/// <summary>
/// 会话名称
/// </summary>
public string CookieName { get; set; }
/// <summary>
/// 过期时间
/// </summary>
public int IdleTimeout { get; set; }
/// <summary>
/// 加载会话或提交会话最大时长
/// </summary>
public int IOTimeout { get; set; }
}
}