Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/w/e/Webware-for-Python-1.1.1/WebKit/Admin/AdminSecurity.py   Webware-for-Python(Download)
                session.values().clear()
            # write the page
            AdminPage.writeHTML(self)
 
else:
                    # Success; log them in and send the page:
                    session.setValue('authenticated_user_admin', username)
                    AdminPage.writeHTML(self)
                else:
                    # Failed login attempt; have them try again:
            elif session.value('authenticated_user_admin', None):
                # They are already logged in; write the HTML for this page:
                AdminPage.writeHTML(self)
            else:
                # They need to log in.