On Sun, Jun 29, 2008 at 12:41 PM, spacetaxi <[EMAIL PROTECTED]> wrote: > > On 29 Jun., 18:44, "Alex Ezell" <[EMAIL PROTECTED]> wrote: >> It's pretty simple to get Django and PHP to share the same >> session information once a user has been logged in on the >> PHP side. > > I'd like to do it the other way around: Login with django and share > the authentication with PHP and Zope2.
It shouldn't matter which way you go. Whether you use a memcache backend or file backend or some other backend (database, by default in django) to store the session/authentication info, you're essentially going to need to write some middleware that overrides the methods of whichever backend you use. Then, in that middleware, you'll be serializing or unserializing the session info so that one system or the other can access it. /alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

