Oops, mean to say subdomain in part 4

On Jun 21, 3:48 pm, Joe <[EMAIL PROTECTED]> wrote:
> Yes.  You need to meet several conditions though:
>
> 1. Obviously, the settings files for both sites must point at the same
> database
>
> 2. The two sites can't use the same model names.  If they do, they
> will share the data in those models as well, not just the users
> tables.
>
> 3. The settings files for the two sites must use the same secret key.
>
> 4. They must share the same domain name (they can be on different
> domains).  If they do not, the session cookie will be unaccessible
> between the two sites because the browser sees this as a security
> violation.
>
> 5. You will have to set the SESSION_COOKIE_DOMAIN to be the same on
> both sites as well.  ( .mydomain.com , for example)
>
> On Jun 21, 2:57 am, Petey <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to use the same authentication tables between multiple
> > sites? I want users on one of my websites to be able to use the same
> > login on another without duplicating the tables. Is this possible. I
> > couldn't tell if the add-on sites module could server that purpose or
> > not.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to