[mod_python] Cookies for domain.com/www.domain.com

Jason Lanquist jason at ruff.com
Tue Mar 15 10:35:32 EST 2005

First off, thanks so much again for helping me with the config problems
last week.  I have another newbie question about cookies.  When I login
to the local server without the "www." prefix, the cookie will be added
for the domain without the "www."  (example:  http://mydomain.com)

Then the page redirects to a page with the www prefix (example: 
http://www.mydomain.com) and the cookie is not there.  Is there a way to
add 1 cookie that would be valid for both urls or should I just make
sure that all urls have the www. prefix?  If the latter, how would you
do this because req uses /home/user/public_html/index.py instead of

Also, is there a way to search through old messages?


More information about the Mod_python mailing list