CGI::setCookie(3) Set a cookie


Void setCookie( String name, String value )


name The cookie name

value The cookie value


Set a cookie. This must be called before CGI.flushHeaders(3kaya) to have any effect. Remember that cookies are not available to the script that sets them.

For more flexible setting of cookies, use WebCommon.setCookie(3kaya) instead.


Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see


The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.