[CMF-checkins] CVS: CMF - expireAuthCookie.py:1.1 setAuthCookie.py:1.1
tseaver@digicool.com
tseaver@digicool.com
Wed, 11 Apr 2001 17:01:11 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak:/tmp/cvs-serv30252/CMFDefault/skins/control
Added Files:
expireAuthCookie.py setAuthCookie.py
Log Message:
- Added hooks to CookieCrumbler to permit site managers to customize
seting/expiring of the authentication cookie by adding PythonScripts;
two default filesystem implementations are in CMFDefault's "control"
skin.
--- Added File expireAuthCookie.py in package CMF ---
## Script (Python) "expireAuthCookie"
##title=Expire Authentication Cookie
##parameters=resp, cookie_name
resp.expireCookie( cookie_name, path='/')
--- Added File setAuthCookie.py in package CMF ---
## Script (Python) "setAuthCookie"
##title=Set Authentication Cookie
##parameters=resp, cookie_name, cookie_value
resp.setCookie( cookie_name, cookie_value, path='/')