Changeset 363
- Timestamp:
- Tue Jan 8 00:51:14 2008
- Files:
-
- server/trunk/update/web/ganttpv_report.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
server/trunk/update/web/ganttpv_report.py
r220 r363 2 2 3 3 # ganttpv_report.py -- this is a CGI script 4 # Copyright 2004, 2005, 2006 by Brian C. Christensen 4 # Copyright 2004, 2005, 2006, 2008 by Brian C. Christensen 4 4 5 5 # Note: The fonts used in this script are larger than in GanttPV. To reduce font … … 39 39 # 060401 - Brian - added session logic 40 40 # 060404 - Brian - InPlace editing works 41 # 080104 - Brian - retain session cookies for one week 41 42 42 43 import os … … 49 50 import cgitb; cgitb.enable() 50 51 import Cookie 52 import time # to set cookie expiration 51 53 52 54 debug = 0 … … 585 587 586 588 cookie['session'] = session 589 cookie.expires = time.time() + 60 * 60 * 24 * 7 # one week 587 590 588 591 print cookie # save session in client
