Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/manual/mod/mod_python/ drwxr-xr-x |
Viewing file: Select action/file-type:
|
req, cookie[, value, attributes]) |
This function will also set "Cache-Control: no-cache="set-cookie"" header to inform caches that the cookie value should not be cached.
Here is one way to use this function:
c = Cookie.Cookie('spam', 'eggs', expires=time.time()+300) Cookie.add_cookie(req, c)
Cookie.add_cookie(req, 'spam', 'eggs', expires=time.time()+300)
req [, Class, data]) |
Cookie
. Data
can be any number of keyword arguments which, will be passed to
parse() (This is useful for signedCookie and
MarshalCookie which require secret
as an additional
argument to parse).
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0032 ]-- |