Re: same session on more than 1 website

2009-09-25 Thread Hinnack
please add to the documentation:every site has to have the same SECRET_KEY,
too when you want to get session vars from a different host, as
the cookie-data is encoded by this key.

-- Hinnack

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



same session on more than 1 website

2009-09-25 Thread hinnack

hi,

I do have only set SESSION_COOKIE_DOMAIN = '.dev.miadi.net' in both
sites
and now I am expecting to be able to set a value under
host1.dev.miadi.net and to read it under host2.dev.miadi.net - but
this does not work.

the browser does send the cookie he got from host1 to host2, but the
site sets a new one. Because of this
the site can not find the value.

I am sitting on TRUNK.
session-data is store in DB.

reading and setting session vars inside each site works well

what am I doing wrong?

-- Hinnack

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---