Logout & login behavior

39 views
Skip to first unread message

sana

unread,
Jul 7, 2011, 3:28:34 AM7/7/11
to google-a...@googlegroups.com
I am under the impression that the gae session is dependent of the session of other Google Services (e.g. Gmail). However, when I do the following

- Log in my app on gae with a Google Account
- Log in my Gmail with the same Google Account
- Logout my app
- My Gmail also got logged out

May I know is this the expected behavior? Because it would be very inconvenient if my users only want to log out my app but not their other Google Service like Gmail. Thanks.

Jon McAlister

unread,
Jul 8, 2011, 1:37:15 PM7/8/11
to google-a...@googlegroups.com
Indeed that is the expected behavior for that scenario. If you'd like the alternate behavior, wherein the user is logged out of your app but not out of Google Accounts, then what you should do instead is delete the [S]ACSID cookie with a Set-Cookie: header in your response. After that, the user will be logged out of the app but still logged in to Google Accounts.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Grmuhuhl8AQJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
0 new messages