Response.HTMLHeader("Test","Test","",loHeader)or you could pass the response object as a parameter when you are creating the header object and call the CompleteHeader method on the loHeader object:
loHeader = CREATEOBJECT("wwHTTPHeader", Response)) loHeader.DefaultHeader() lcCookie = loSession.NewSession() loHeader.AddCookie("wwUser", lcCookie) loHeader.CompleteHeader()