Example #1
0
File: cookie.py Project: ZiTAL/zpy
	def delete(key):
		webapi.setcookie(key, None, -1)
		return None
Example #2
0
File: cookie.py Project: ZiTAL/zpy
	def set(key, value, expire):
		#setcookie(key, value, expires='', domain=None, secure=False, httponly=False, path=None)
		webapi.setcookie(key, value, expire)
		return None