Print content of the session object



Is there a way one can print the content of the session object in a recursive manner?

Putting str(session) or str(session$request) in a renderText call does not seem to return anything printable in a verbatimTextOutput UI element.
I can print specific slots of the session object, but it is a pain to work this way and I would really like to work with something versatile.

Thank in advance for your feedback

PS: this may or may not go without saying but I need to render the content of session when my app is remotely served.