I apologize if I'm posting to the wrong place, I don't know if this is a basic HTML question, a Python question, a GAE question, or some combination of the set...
Since we can't have much impact on the use login window for Google App Engine (ie to change the language or add an image), I'm looking at embedding the login page, like so: from google.appengine.ext import webapp from google.appengine.api import users class main(webapp.RequestHandler): def get(self): user = users.get_current_user() if user == None: self.response.out.write('<html>\n<body>\n') self.response.out.write('<p>My intro text</p>\n') self.response.out.write('<hr>\n') self.response.out.write('<object\n') self.response.out.write(' data="' + users.create_login_url (self.request.uri) + '"\n') self.response.out.write(' type="text/html"\n') self.response.out.write(' width=100% height=50%>\n') self.response.out.write('</object>') self.response.out.write('<hr>\n') self.response.out.write('</body>\n</html>\n') else: self.response.out.write('<html>\n<body>\n') self.response.out.write('<p>' + user.nickname() + 'is logged in!</p>\n') self.response.out.write('</body>\n</html>\n') This works fine: I get "My intro text" at the top of the window followed by a pane with the login. However, when I login, the result ("user is logged in") is written to the pane where the login occurred, vs. replacing the whole window. I tried this with the older <iframe>, and get the same result. Is there a way to re-take over the complete window (ie make the frame I created go away) on the redirect? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---