[mod_python] Session management implementation in mod_python

Martijn Moeling martijn at xs4us.nu
Thu Mar 4 11:55:35 EST 2010


I remembered there was an issue on this, which is fixed in MP 3.3.1
If you have an older version look at the patch in http://issues.apache.org/jira/browse/MODPYTHON-149

also have a look at the mod_python docs for python option mod_python.session.application_domain

I think that will help you out

Martijn

On Mar 4, 2010, at 5:27 PM, K.Manikandan wrote:

> 
>> Can you tell me what the domains are, this is important to help you
>> 
>> I think you mean:
>> 
>> host1.domain.com
>> host2.domain.com
>> 
>> and you want to set the cookie for *.domain.com
>> 
>> is that true?
>> 
>> Martijn
>> 
> 
> Yes. We had set a cookie from host1.domain.com with its domain as
> '.domain.com' .. After opening the 'host1/domain.com, the web browser
> shows its cookie and its domain as '.domain.com/ .Now if we try to use
> 
> c = Cookie.get_cookies(req) from the host2.domain.com, the cookie is not
> found. And of course the cookie that we had set for this host is
> accessible...
> 
> Regards,
> Manikandan K
> 
> 
> -----------------------------------------
> This email was sent using TCEMail Service.
> Thiagarajar College of Engineering
> Madurai-625 015, India
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python




More information about the Mod_python mailing list