Lasso Soft Inc. > Home

[Session_RemoveVar]

[Session_RemoveVar] removes a variable from a specified session.

Accepts two parameters: -Name is the name of the session and a second unnamed parameter is the name of the variable.

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.

  • Syntax
  • Parameters
[Session_RemoveVar: -Name='Session Name', 'Variable Name']
Required Parameters
-Name The name of the session from which the variable should be removed.
Variable Name The name of the variable to remove from the session.
Examples

To remove a variable from a session:

Use the [Session_RemoveVar] tag. The following example removes several variables from a session named ShoppingCart including TotalCost and TotalShipping.

[Session_RemoveVariables: -Name='ShoppingCart', 'TotalCost']
[Session_RemoveVariables: -Name='ShoppingCart', 'TotalShipping']
Tag Link [Session_RemoveVar] Category Session
Type Process Data Source Any
Support Abbreviation Version 5.0
Output Type None Security None
Implementation Sets Lasso 5.0

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft