Neokernel API

HTTPAgentRequest.setSessionCookie(SessionManagerInterface, String) Method

This method will automatically set a cookie that is written to the client when the response header is written. The session ID cookie name is assumed to be cookieName, the path cookie name is assumed to be path, and the expires cookie name is assumed to be expires. If a path and/or expires name is not found in the Props for this session ID, they won't be included with the cookie. If no session ID was found in the client cookies, no cookie will be sent.

public virtual bool setSessionCookie(
   SessionManagerInterface sessionManager,
   string cookieName
);

See Also

HTTPAgentRequest Class | com.neokernel.httpd Namespace | HTTPAgentRequest.setSessionCookie Overload List