<set-cookie> set a cookie
- name
- set-cookie
- xml namespace
- http://moyaproject.com
Set a new cookie.
Example
<set-cookie name="session" value="${session.key}" overwrite="yes" />
attributes
name |
purpose |
type |
required? |
default |
choices |
comment |
Comment |
text |
No |
|
|
domain |
Domain |
text |
No |
|
|
httponly |
HTTP Only? |
boolean |
No |
no |
|
maxage |
Max age of cookie (in seconds or as timespan) |
timespan |
No |
|
|
name |
Cookie name |
text |
No |
|
|
overwrite |
Overwrite? |
text |
No |
|
|
path |
Path |
text |
No |
"/" |
|
secure |
Secure |
boolean |
No |
no |
|
value |
Value |
text |
Yes |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|