def ClearUserInfoCookie(cookie_name=COOKIE_NAME):
 set_cookie = Cookie.SimpleCookie()
 set_cookie[cookie_name] = ''
 set_cookie[cookie_name]['path'] = '/'
 set_cookie[cookie_name]['max-age'] = '0'
 return ('%s\r\n' % set_cookie)

def ClearUserInfoCookie ( cookie_name = COOKIE_NAME ) : set_cookie = Cookie . SimpleCookie ( ) set_cookie [ cookie_name ] = '' set_cookie [ cookie_name ] [ 'path' ] = '/' set_cookie [ cookie_name ] [ 'max-age' ] = '0' return ( '%s\r\n' % set_cookie )
clears the user info cookie from the requestor .