I noticed the same effect.  App Engine let me log in with a GMail
account, but kept showing me information from the previous account
that I had used to log in.

I wouldn't worry about this problem too much - it only happens in the
development environment.  On the production environment, the log-in
screen shows the previous e-mail address and gives the user an option
to use their current account or change to a different account.  The
development environment log-in screen uses a different (and much
simpler) screen.

If it still bothers you, try calling the logout_url first, then use an
HTTP redirect to the login_url.  API info here:
http://code.google.com/appengine/docs/users/functions.html

How to do an HTTP redirect:
http://en.wikipedia.org/wiki/HTTP_redirect

w.

On Nov 23, 1:18 pm, apalankat <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to develop a gmail gadget using app engine, and I'd like
> the gadget to get always the current gmail user.
> The problem is, once a user logs into the gadget using the google
> account, then the session keeps open, and if I log into gmail using
> another account the gadget keeps showing the previous user.
>
> I'd like the gadget to switch the user correctly between various
> accounts, just like the Docs or Calendar gadgets. Is it possible?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to