/[shmookey]/portconf/update-login.py


UCC Code Repository

Diff of /portconf/update-login.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by shmookey, Tue Jun 3 07:49:09 2008 UTC revision 120 by shmookey, Thu Jun 5 07:30:56 2008 UTC
# Line 42  def LoginSetCookie (user, pw): Line 42  def LoginSetCookie (user, pw):
42                  print                  print
43                  print "result = 'failure';"                  print "result = 'failure';"
44                  sys.exit ()                  sys.exit ()
45            except pyaaa.DatabaseError:
46                    print "Content-type: text/html"
47                    print
48                    print "result = 'dberror';"
49                    sys.exit ()
50          cookie["sid"] = sessionID          cookie["sid"] = sessionID
51          print "Content-type: text/html"          print "Content-type: text/html"
52          print cookie          print cookie

Legend:
Removed from v.119  
changed lines
  Added in v.120

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26