session_set_cookie_params() function and domains

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dandri
Forum Newbie
Posts: 7
Joined: Mon Oct 17, 2005 9:20 am

session_set_cookie_params() function and domains

Post by dandri »

When I set a domain value in the session_set_cookie_params() function, the session cookie is not sent to the browser. When I remove it, everything works fine. I tried everything as domain values:

mydomain.com
.mydomain.com
subdomain.mydomain.com
.subdomain.mydomain.com
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Post your code!

:)
Post Reply