View Single Post
  #3 (permalink)  
Old 03-18-06, 11:41 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
The default for the session.cookie_domain is nothing "". It is possible that the session cookie was created using the full domain of the starting page. If so, this could lockout access from a subdomain. The PHP manual for cookies recommends -
Quote:
To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain.
Perhaps set session.cookie_domain to '.yourdomain.com'
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote