In IVR, you can use Session Data. Look for information on Session Data in the CRS programming guides. There are also some sample scripts in the CRS Script repository.
In CVP there are Application varaiables and Global variables that could be used depending on the requirement.
Ranj