Neokernel API

HTTPAgentRequest.setSessionCookie Method

This method will automatically set a cookie that will be written to the client with the response header. The session ID cookie name is assumed to be session_id, the path cookie name is assumed to be path, and the name of the expires value name is assumed to be expires. If a path and/or expires value is not found in the session Props for this session ID, they will not be included with the cookie.

Overload List

This method will automatically set a cookie that will be written to the client with the response header. The session ID cookie name is assumed to be session_id, the path cookie name is assumed to be path, and the name of the expires value name is assumed to be expires. If a path and/or expires value is not found in the session Props for this session ID, they will not be included with the cookie.

public virtual bool setSessionCookie(SessionManagerInterface)

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,string)

See Also

HTTPAgentRequest Class | com.neokernel.httpd Namespace