Prints info from the current session. WARNING: ONLY FOR DEBUGGING. MAJOR SECURITY RISK!
(session)
| 290 | self.release() |
| 291 | |
| 292 | def print_session(session): |
| 293 | """ |
| 294 | Prints info from the current session. |
| 295 | |
| 296 | WARNING: ONLY FOR DEBUGGING. MAJOR SECURITY RISK! |
| 297 | """ |
| 298 | print "<h3>Session Data</h3>" |
| 299 | print "<dl>" |
| 300 | for name in session: |
| 301 | print "<dt>%s <i>%s</i></dt>"%(name, type(session[name])) |
| 302 | print "<dd>%s</dd>"%repr(session[name]) |
| 303 | print "</dl>" |
| 304 | |
| 305 | def main(): |
| 306 | """Tester Program""" |