Session cookie in wrong path

Tag: session , cookies , modx Author: pjxiatian Date: 2012-08-12

I have a problem with my session cookies. I use sessions for storing products in cart on my e-shop at and all session operations are processed at however it looks like at this path are stored session cookies with path /sk/ not with path /de/ and thats a real problem I have to face. Do you have any ideas how to fix this problem?

I am not sure what causes this problem but I think it might be my htaccess with following rules:

# The Friendly URLs part
# detect language when requesting the root (/)
RewriteCond %{HTTP:Accept-Language} ^en [NC]
RewriteRule ^$ en/ [R=301,L]
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteRule ^$ de/ [R=301,L]
RewriteRule ^$ sk/ [R=301,L]

Maybe some other rules in my htaccess that redirects files? I dont know, if anyone would be so kind and take a look at my problem, you can find phpinfo at I believe I have all the appropriate settings set there but you can take a look.

Thanks in advance ...

Did you change "session_cookie_domain" in the system settings?
session_cookie_domain is set to so they will be accessible also on subdomains.
tried setting the domain to and the path to /?
It looks like only setting session.auto_start=1 solves my problem. Nothing else, but it blocks my manager in modx so i cant manage my pages any more.