'Get the session information from the switch
:returns: Connection status information.'

def get_session_info(self):

    try:
        headers = {zone_constant.AUTH_HEADER: self.auth_header}
        response = self.connect(zone_constant.GET_METHOD, zone_constant.SESSION_PAGE_ACTION, header=headers)
    except Exception as e:
        msg = (_('Error    while    getting    session    information    %s.') % six.text_type(e))
        LOG.error(msg)
        raise exception.BrocadeZoningHttpException(reason=msg)
    return response
