sessionDetails function

Outputs details on the current session