tweaked session_info()