set

SESSION_COOKIE_DOMAIN=".mychatapp.com"

this will make the django cookie valid both for www.mychat.com and
chat.mychat.com

On Sat, Jun 5, 2010 at 2:34 PM, nameless <xsatelli...@gmail.com> wrote:
> If the chat is in a subdomain ?
>
>
>
> ------------
>
> On Jun 5, 2:05 pm, Vasil Vangelovski <vvangelov...@gmail.com> wrote:
>> It's possible if both of your applications are under the same domain.
>> see the SESSION_COOKIE_* settings variables
>>
>> http://docs.djangoproject.com/en/dev/ref/settings/#session-cookie-age
>>
>> You can then find the current user by the sessionid from the django_* tables.
>>
>> On Sat, Jun 5, 2010 at 1:40 PM, nameless <xsatelli...@gmail.com> wrote:
>>
>> > I have a django blog project and a chat in PHP.
>>
>> > I need to share the id of the user logged in django
>> > ( request.user.id ) with the chat in PHP.
>>
>> > Is this possible ?
>>
>> > --
>> > 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.
>>
>>
>
> --
> 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 at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to