Table of Contents

Class Session

Namespace
PHCLibrary
Assembly
PHCLibrary.dll
public class Session
Inheritance
Session

Methods

Abandon()

public static void Abandon()

existSession()

public static bool existSession()

Returns

bool

existSession(HttpSessionState)

public static bool existSession(HttpSessionState objSession)

Parameters

Nome Tipo Descrição
objSession HttpSessionState

Returns

bool

existsKey(string)

public static bool existsKey(string keyId)

Parameters

Nome Tipo Descrição
keyId string

Returns

bool

existsKey(string, HttpSessionState)

public static bool existsKey(string keyId, HttpSessionState objSession)

Parameters

Nome Tipo Descrição
keyId string
objSession HttpSessionState

Returns

bool

getSession()

public static HttpSessionState getSession()

Returns

HttpSessionState

getSessionID()

public static string getSessionID()

Returns

string

getValue(string)

public static object getValue(string keyId)

Parameters

Nome Tipo Descrição
keyId string

Returns

object

getValue(string, HttpSessionState)

public static object getValue(string keyId, HttpSessionState objSession)

Parameters

Nome Tipo Descrição
keyId string
objSession HttpSessionState

Returns

object

removeKey(string)

public static void removeKey(string keyId)

Parameters

Nome Tipo Descrição
keyId string

removeKey(string, HttpSessionState)

public static void removeKey(string keyId, HttpSessionState objSession)

Parameters

Nome Tipo Descrição
keyId string
objSession HttpSessionState

setValue(string, object)

public static void setValue(string keyId, object Value)

Parameters

Nome Tipo Descrição
keyId string
Value object

setValue(string, object, HttpSessionState)

public static void setValue(string keyId, object Value, HttpSessionState objSession)

Parameters

Nome Tipo Descrição
keyId string
Value object
objSession HttpSessionState

valueEqual(string, object)

public static bool valueEqual(string keyId, object value)

Parameters

Nome Tipo Descrição
keyId string
value object

Returns

bool

valueEqual(string, object, HttpSessionState)

public static bool valueEqual(string keyId, object value, HttpSessionState objSession)

Parameters

Nome Tipo Descrição
keyId string
value object
objSession HttpSessionState

Returns

bool