Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » sessions across subdomains - required settings? [RSS Feed]

#1 June 17, 2010 10:22:43

Aljosa M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

sessions across subdomains - required settings?


if i have a project with domain example.com and it's deployed as 3
wsgi apps:
- www.example.com
- admin.example.com
- api.example.com
is there something in settings.py that should be shared across wsgi
apps except SESSION_COOKIE_DOMAIN?

i can't figure out if i should use the same SECRET_KEY in all settings
or it doesn't matter?
just to be clear, all 3 wsgi apps are basically the same project and
they access the same database.

Aljosa Mohorovic

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 17, 2010 22:39:35

Vasil V.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

sessions across subdomains - required settings?


Not really. Giving them a different secret key won't make much
difference. Just make sure your site id is the same.

On Thu, Jun 17, 2010 at 11:22 AM, Aljosa Mohorovic
<aljosa.mohoro...@gmail.com> wrote:
> if i have a project with domain example.com and it's deployed as 3
> wsgi apps:
> - www.example.com
> - admin.example.com
> - api.example.com
> is there something in settings.py that should be shared across wsgi
> apps except SESSION_COOKIE_DOMAIN?
>
> i can't figure out if i should use the same SECRET_KEY in all settings
> or it doesn't matter?
> just to be clear, all 3 wsgi apps are basically the same project and
> they access the same database.
>
> Aljosa Mohorovic
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » sessions across subdomains - required settings? [RSS Feed]

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support