Why? I think the way it works is looking for cookie (in this case it's named ACSID) and loads User object related to that cookie value. So, for different paths we have different cookies and as a result different User objects. Am I wrong?
On Jul 6, 7:26 pm, Robert Kluin <[email protected]> wrote: > I like the idea. It won't work with 'native' Google Accounts and Apps > Accounts, since your app can not use both types, or multiple Apps > domains, at the same time. You would need to use OAuth. > > Robert > > > > On Mon, Jul 5, 2010 at 7:27 AM, Vladimir Prudnikov <[email protected]> wrote: > > Is it possible to specify acustompathfor theauthcookie(probably > > 'ACSID')? So, users will be able to use different account on the > > different pages at the same time like GMail for Apps does? > > > For example: > > >http://www.mytool.com/a/mycompany.com/— one Google Apps account > >http://www.mytool.com/a/anothercompany.com/— another Google Apps > > account > >http://www.mytool.com/app/— yet another Google Accounts account > > > If it is not possible yet, here is my proposal: > > > It can be done by providing the optionalcustomparameter to the users > > API functions, for example: > > > users.create_login_url(cookie_path="/a/anothercompany.com/") > > users.create_logout_url(cookie_path="/a/anothercompany.com/") > > users.get_current_user(cookie_path="/a/anothercompany.com/") > > > What do you think? > > > -- > > 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 > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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.
