Yes, you are right! I still work with only
response.cookies[response.session_id_name]['domain'] = ".domain.ru"
On 12 апр, 00:22, Anthony wrote:
> On Monday, April 11, 2011 2:05:34 PM UTC-4, LightOfMooN wrote:
>
> > No, it just a single application
>
> > I just add to my db.py:
> > response.cookie
On Monday, April 11, 2011 2:05:34 PM UTC-4, LightOfMooN wrote:
>
> No, it just a single application
>
> I just add to my db.py:
> response.cookies[response.session_id_name]['domain'] = ".domain.ru"
> session.connect(request,response,masterapp='myapp')
If it's just one application, I'm thinki
No, it just a single application
I just add to my db.py:
response.cookies[response.session_id_name]['domain'] = ".domain.ru"
session.connect(request,response,masterapp='myapp')
On 11 апр, 23:39, Anthony wrote:
> Cool. What exactly did you do? Is it just a single application, or did you
> have to
Cool. What exactly did you do? Is it just a single application, or did you
have to use the multi-application method Massimo suggested?
On Monday, April 11, 2011 12:42:50 PM UTC-4, LightOfMooN wrote:
> Oh, Anthony, Massimo
> It works!
> Thanks you a lot!
>
> On 11 апр, 22:29, Massimo Di Pierro
Oh, Anthony, Massimo
It works!
Thanks you a lot!
On 11 апр, 22:29, Massimo Di Pierro
wrote:
> True. So perhaps this should do it:
>
> response.cookies[response.session_id_name]['domain'] =
> ".habrahabr.ru"
> session.connect(request,response,masterapp='')
>
> where masterapp is the name of th
True. So perhaps this should do it:
response.cookies[response.session_id_name]['domain'] =
".habrahabr.ru"
session.connect(request,response,masterapp='')
where masterapp is the name of the one of the two apps that will be in
charge of authentication.
On Apr 11, 11:25 am, Anthony wrote:
> Ac
According to the book, here's how web2py sets the session cookie:
response.cookies[response.session_id_name] = response.session_id
response.cookies[response.session_id_name]['path'] = "/"
Perhaps it would work with subdomains if you added (maybe in a model file):
response.cookies[response.s
We just use web2py auth in our site, and not manual manage cookies.
On 11 апр, 21:56, Mengu wrote:
> are you saving the cookies in cities.ru domain but not per subdomain?
>
> On Apr 11, 6:40 pm, LightOfMooN wrote:
>
>
>
>
>
>
>
> > But that is in all browsers (we try IE, FF, Chrome, Safari).
> >
are you saving the cookies in cities.ru domain but not per subdomain?
On Apr 11, 6:40 pm, LightOfMooN wrote:
> But that is in all browsers (we try IE, FF, Chrome, Safari).
> I have seen many sites with subdomain structure, where there are one
> login for all site structure.
> For example, habraha
But that is in all browsers (we try IE, FF, Chrome, Safari).
I have seen many sites with subdomain structure, where there are one
login for all site structure.
For example, habrahabr.ru, where subdomain is username.
http://alexkucherov.habrahabr.ru/
http://lugansk.habrahabr.ru/
http://devart.habrah
The problem I can thnk of is that browser perceives them as different
domains and does not share cookies required for session info.
On Apr 11, 12:35 am, LightOfMooN wrote:
> No solutions for that?
>
> On 10 апр, 23:18, LightOfMooN wrote:
>
>
>
>
>
>
>
> > Hello.
> > I have site based on subdomai
No solutions for that?
On 10 апр, 23:18, LightOfMooN wrote:
> Hello.
> I have site based on subdomains, but all of them are the one project.
>
> for example:
>
> city1.cities.ru
> city2.cities.ru
> city3.cities.ru
>
> if I login in one subdomain, I should login else in all of others.
>
> How to f
12 matches
Mail list logo