[appengine-java] Re: UserService.getCurrentUser() returning null sometimes

2011-05-15 Thread Brandon Donnelson
Dev or Production side? I've had this happen on the dev side at times. I haven't seen it recently in my app. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this gro

[appengine-java] Re: UserService.getCurrentUser() returning null sometimes

2011-05-16 Thread Aswath Satrasala
Any ideas, on this. Why does UserService.getCurrentUser() return null sometimes. How long is user logged in status valid? In my application setting, the cookie expiration is set to 1 day. -Aswath www.AccountingGuru.in . On Sat, May 14, 2011 at 11:14 AM, Aswath Sa

[appengine-java] Re: UserService.getCurrentUser() returning null sometimes

2011-05-17 Thread nacho
If the user logins in your app and then in another tab logout from gmail (for example) you will get null when you do UserService.getCurrentUser() Could this be your trouble? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post

[appengine-java] Re: UserService.getCurrentUser() returning null sometimes

2011-05-17 Thread Aswath Satrasala
No, I don't think so. This issue never occurred for me. I also spoke to my customer about the gmail logout. He said he has not logged out. The worst part is, you try the same operation by refreshing the browser or sending the same RPC, the RPC is successful. I can see these RPC success and errors