310
288
def add_cookie(self, cookie, value=None, **attributes):
311
289
"""Inserts a cookie into this request object's headers."""
315
Cookie.add_cookie(self.apache_req, cookie, value, **attributes)
293
mod_python.Cookie.add_cookie(self.apache_req, cookie, value, **attributes)
318
296
"""Returns a mod_python Session object for this request.
319
297
Note that this is dependent on mod_python and may need to change
321
303
# Cache the session object and set the timeout to 24 hours.
322
304
if not hasattr(self, 'session'):