def _clear_user_info_cookie(cookie_name=_COOKIE_NAME):
 cookie = Cookie.SimpleCookie()
 cookie[cookie_name] = ''
 cookie[cookie_name]['path'] = '/'
 cookie[cookie_name]['max-age'] = '0'
 if AppDashboardHelper.USE_SHIBBOLETH:
  cookie[cookie_name]['domain'] = AppDashboardHelper.SHIBBOLETH_COOKIE_DOMAIN
 return cookie[cookie_name].OutputString()

def _clear_user_info_cookie ( cookie_name = _COOKIE_NAME ) : cookie = Cookie . SimpleCookie ( ) cookie [ cookie_name ] = '' cookie [ cookie_name ] [ 'path' ] = '/' cookie [ cookie_name ] [ 'max-age' ] = '0' if AppDashboardHelper . USE_SHIBBOLETH : cookie [ cookie_name ] [ 'domain' ] = AppDashboardHelper . SHIBBOLETH_COOKIE_DOMAIN return cookie [ cookie_name ] . OutputString ( )
clears the user info cookie from the requestor .