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