clearSessionVariables
void sqlDataManager.clearSessionVariables ( String table ) (professional and enterprise editions only)
Description
Clear session variables corresponding to the fields of a specific table (case insensitive).
Parameters
- table Name of the table whose field names will be used to clear session variables.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
5.0 | Available for professional and enterprise editions. |
Examples
Clear Session Variables
// Get data manager
dm = session.getv( "DATAMANAGER" );
// Clear session variables for people table
dm.clearSessionVariables( "people" );
dm = session.getv( "DATAMANAGER" );
// Clear session variables for people table
dm.clearSessionVariables( "people" );
See Also
- addSessionVariables() [SqlDataManager] - Adds the session variables to a database table for columns that match the session variable names
- addSessionVariablesOnCommit() [SqlDataManager] - Adds the session variables to a database table when a row of the table is committed
- clearSessionVariablesOnCommit() [SqlDataManager] - Clears the session variables corresponding to columns in a database table when a row of data is committed to the table
scraper on 07/16/2010 at 5:22 pm
- Printer-friendly version
- Login or register to post comments