[Session_RemoveVar] removes a variable from a specified session.
Accepts two parameters: the name of the session and the name of the variable to remove.
Once a variable has been removed from a session it's value will no longer be remembered at the end of the current page.
Note: [Session_RemoveVar] does not alter the value of the named variable.
Session_RemoveVar('Session Name', 'Variable Name')
Use the [Session_RemoveVar] method. The following example removes several variables from a session named ShoppingCart including TotalCost and TotalShipping.
Code
Session_RemoveVar('ShoppingCart', 'TotalCost')
Session_RemoveVar('ShoppingCart', 'TotalShipping')
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments