|
<aconf>
<apre>
<auth-required>
<expire-time>
<header>
<killframe>
<redirect>
<remove-cookie>
<return>
<set-cookie>
<throttle>
|
<set-cookie/>
Sets a cookie that will be stored by the user's browser. This
is a simple and effective way of storing data that is local to the
user. If no arguments specifying the time the cookie should survive
is given to the tag, it will live until the end of the current browser
session. Otherwise, the cookie will be persistent, and the next time
the user visits the site, she will bring the cookie with her.
Attributes
- name
name=string
-
The name of the cookie.
- seconds
seconds=number
-
Add this number of seconds to the time the cookie is kept.
- minutes
minutes=number
-
Add this number of minutes to the time the cookie is kept.
- hours
hours=number
-
Add this number of hours to the time the cookie is kept.
- days
days=number
-
Add this number of days to the time the cookie is kept.
- weeks
weeks=number
-
Add this number of weeks to the time the cookie is kept.
- months
months=number
-
Add this number of months to the time the cookie is kept.
- years
years=number
-
Add this number of years to the time the cookie is kept.
- persistent
-
Keep the cookie for two years.
- domain
-
The domain for which the cookie is valid.
- value
value=string
-
The value the cookie will be set to.
- path
path=string
-
The path in which the cookie should be available.
If persistent is specified, the cookie will be persistent until year
2038, otherwise, the specified delays are used, just as for
.
Note that the change of a cookie will not take effect until the
next page load. |
|