addToVariable
| session.addToVariable( String variable, int value ) (professional and enterprise editions only) |
| Description |
| Adds a value to a session variable. Session variables are generally stored as Strings, so it's normally more difficult than it should be to simply add a number to one. This method takes the name of the variable, which can either hold a String or Integer, and adds a number to it. The number added to it can be positive or negative. |
 |
| Example |
// Increments the session variable "PAGE_NUM" by one. session.addToVariable( "PAGE_NUM", 1 ); |
|
|
Recent comments
1 hour 25 min ago
1 hour 32 min ago
3 hours 39 min ago
23 hours 4 min ago
23 hours 21 min ago
1 day 9 min ago
1 day 17 min ago
1 day 27 min ago
1 day 37 min ago
2 days 21 hours ago