''Copy'' Function |
![]() ![]() ![]() |
Copy function is used create a new ADOM by copying an existing ADOM. Syntax: Copy(source-adom-scope:source-adom-name, target-adom-scope:target-adom-name)
source-adom-scope The scope of the source ADOM. Values are "r" Request, "s" Session and "a" Application. source-adom-name The name of the source ADOM. target-adom-scope The scope of the target ADOM. Values are "r" Request, "s" Session and "a" Application. target-adom-name The name of the target ADOM.
Examples: Copy(s:cart,r:cart) Create a new request ADOM "cart" and copy the content of session ADOM "cart" into it. Copy(r:empleyees,r:temp) Create a new request ADOM "temp" and copy the content of request ADOM "employees" into it.
|