On Wed, Aug 5, 2009 at 2:20 PM, Martyn<[email protected]> wrote:
>
> Are you suggesting that I need to do something in my App for each
> request to ensure the current user returned is valid?
We're suggesting that we don't have enough information to determine
where the problem is - certainly not enough information to conclude
that the Users API is erroneously returning a logged in user after you
have logged out.
Have you tried logging the below information, and checking the admin
console logs to verify what output is generated after you request the
page after logging out?
-Nick Johnson
>
> I have no control if the user changes their account sign-in in another
> browser window.
>
> My debug code is
>
> UserService us = UserServiceFactory.getUserService();
> User usr = us.getCurrentUser();
>
> StringBuffer buf = new StringBuffer();
> buf.append("<table
> class='omStatus'><tr><th>Property</th><th>Value</
> th</tr>");
> buf.append("<tr><td>Nickname</td><td>" + usr.getNickname() +
> "</td</
> tr>");
> buf.append("<tr><td>EMail</td><td>" + usr.getEmail() +
> "</td</tr>");
> buf.append("<tr><td>Auth Domain</td><td>" +
> usr.getAuthDomain() + "</
> td</tr>");
> buf.append("</table>");
>
> return buf.toString();
>
>
>
> On Aug 5, 2:01 pm, Holger <[email protected]> wrote:
>> You really need to give more details.
>>
>> > this cannot be explained by a cookie problem.
>>
>> ?????????????? How can you know?
>>
>> What's the url where I can test?
>>
>> Who wrote that code?
>>
>> How does the code look like?
> >
>
--
Nick Johnson, Developer Programs Engineer, App Engine
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---