세션 - Session
설명
Injecting Session
public class MySampleClass : ITransient
{
public IAxsSession AxsSession { get; set; }
public MySampleClass()
{
// Null세션객체를 임시로 할당하고, 추후 원래 객체로 DI해 준다.
AxsSession = NullAxsSession.Instance;
}
public void MyMethod()
{
// 세션에서 갑 가져오기
var currentUserId = AxsSession.UserId;
//...
}
}Session Properties
세션값 범위 변경
확인



Last updated