Difference between revisions of "API:EPrints/Cookie"
(Created page with '<!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints 3.2 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' com…')
Latest revision as of 09:56, 22 January 2013
EPrints::Cookie - Cookie utility methods
This module contains utility methods for generating and getting cookies.
$value = cookie( $repo, $name )
Return the value of the cookie named $name.
set_cookie( $repo, $name, $value [, %opts ] )
Set a cookie for the current session for HTTP.
set_secure_cookie( $repo, $name, $value [, %opts ] )
Set a cookie for the current session for HTTPS.
Copyright 2000-2012 University of Southampton.
This file is part of EPrints http://www.eprints.org/.
EPrints is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
EPrints is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with EPrints. If not, see http://www.gnu.org/licenses/.