SessionIDManager.Decode(String) 메서드

정의

쿠키 또는 URL에서 가져온 URL로 인코딩된 세션 식별자를 디코딩합니다.

public:
 virtual System::String ^ Decode(System::String ^ id);
public virtual string Decode(string id);
abstract member Decode : string -> string
override this.Decode : string -> string
Public Overridable Function Decode (id As String) As String

매개 변수

id
String

디코딩할 세션 식별자입니다.

반품

디코딩된 세션 식별자입니다.

설명

이 메서드는 애플리케이션 코드에서 호출할 수 없습니다.

이 메서드는 클래스를 상속 SessionIDManager 하고 메서드를 재정의 SessionID 하는 클래스에서 만든 사용자 지정 SessionIDManager 값을 디코딩하기 위해 클래스에서 CreateSessionIDValidate 내부적으로 사용됩니다. 메서드가 HTTP 요청 GetSessionID 에서 검색한 사용자 지정 세션 식별자 값의 충실도를 보장하기 위해 메서드 SessionIDManager 를 사용하여 UrlDecode 사용자 지정 값을 디코딩합니다.

상속자 참고

클래스를 상속 SessionIDManager 하고 및 메서드를 재정의하는 클래스의 CreateSessionID(HttpContext)Validate(String) 예제는 메서드에 제공된 예제를 CreateSessionID(HttpContext) 참조하세요.

적용 대상

추가 정보