Get the string that can be placed in the Session header field.
a Session
the Session header of this. g_free after usage.