def _add_MSIE_max_age_workaround(cookie, timeout):
    """Inject a Microsoft Internet Explorer ``max-age`` workaround.

    We'd like to use the "max-age" param as indicated in
    http://www.faqs.org/rfcs/rfc2109.html but IE doesn't
    save it to disk and the session is lost if people close
    the browser. So we have to use the old "expires" ... sigh ...
    """
    expires = time.time() + timeout * 60
    cookie['expires'] = httputil.HTTPDate(expires)
Inject a Microsoft Internet Explorer ``max-age`` workaround.

    We'd like to use the "max-age" param as indicated in
    http://www.faqs.org/rfcs/rfc2109.html but IE doesn't
    save it to disk and the session is lost if people close
    the browser. So we have to use the old "expires" ... sigh ...
    
cherrypy/lib/sessions.py