Session variables
The AppDB class publishes these methods for manipulating session variables for the caller's session:
Method | Description |
---|---|
public void SetSessionVariable( string name, string varValue) |
Sets the value of a session variable |
public string GetSessionVariable( string name) |
Gets the value of a session variable |
public string GetSessionVariable( string name, string defaultValue) |
Gets the value of a session variable, returning the specified default value if it does not exist |
public string GetSessionVariable( string name, string defaultValue, bool delete) |
Gets the value of a session variable, returning the specified default value if it does not exist, and deleting it if it does exist |
public void DeleteSessionVariable( string name) |
Deletes a session variable |