HTTP_Cookie missing in OpenAgent

I have a Notes web page with the following:

, where calls an agent with ?OpenAgent.

Agent Script:

Dim sess As New NotesSession

Dim Db As NotesDatabase

Dim doc As NotesDocument

Set doc=sess.DocumentContext

Print “Cookie” & doc.HTTP_Cookie(0)

Print “Content” & doc.Request_Content(0)

The DocumentContent field in the agent have HTTP_Cookie and the value. But HTTP_Cookie in the agent is always blank.

Any reason why HTTP_Cookie is missing in the agent?

Cookie set from HTML HEAD CONTENT:

@SetHTTPHeader(“Set-Cookie”; “CurrentUser=”+CreateBy)

Thanks and have a great day!