Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
response
>
set-cookie
response
http://exist-db.org/xquery/response
A module for dealing with HTTP responses.
set-cookie
response:set-cookie($name as xs:string, $value as xs:string) empty()
Sets a HTTP Cookie on the HTTP Response.
$name
The cookie name
$value
The cookie value
set-cookie
response:set-cookie($name as xs:string, $value as xs:string, $max-age as xs:duration, $name as xs:boolean?) empty()
Sets a HTTP Cookie on the HTTP Response.
$name
The cookie name
$value
The cookie value
$max-age
The xs:duration of the cookie
$name
The flag on whether the cookie is to be secure (eg. only transferred using HTTPS)
Return to list of all modules