Extending the functionality of sessionGet/Set

Reproducing the new functionality of viewGet/set into sessionGet/Set.