1CGI.setCookie(3kaya) Kaya module reference CGI.setCookie(3kaya)
2
3
4
6 CGI::setCookie - Set a cookie
7
9 Void setCookie( String name, String value )
10
12 name The cookie name
13
14 value The cookie value
15
17 Set a cookie. This must be called before CGI.flushHeaders (3kaya) to
18 have any effect. Remember that cookies are not available to the script
19 that sets them.
20
21 For more flexible setting of cookies, use WebCommon.setCookie (3kaya)
22 instead.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
34
35
36Kaya December 2010 CGI.setCookie(3kaya)