diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index 60dcfcaf..cff21030 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -792,6 +792,7 @@ class OEMHandler(generic.OEMHandler): conn.request('POST', '/rpc/WEBSES/create.asp', params, headers) rsp = conn.getresponse() if rsp.status == 200: + conn.cookies = {} body = rsp.read().split('\n') session_line = None for line in body: