session.cookie_domain = .mydomain.com
If unable to modify the the php.ini file, add the following before the session.start() function on any page which creates the session cookie.
ini_set("session.cookie_domain", ".mydomain.com")
Internet is vague. It has nothing left to be covered now. However, things get messed up sometimes and I forgot where I used to find the materials I had just searched for some days ago. So, I am now gathering all those into this blog. This is just my bookmark or my scrapbook or anything you wish to say. If you think these are helpful, you can take references, no any rights to be defined here. No styles and no colorful designs, just an area to jot down some scraps and all. Enjoy
session.cookie_domain = .mydomain.com
If unable to modify the the php.ini file, add the following before the session.start() function on any page which creates the session cookie.
ini_set("session.cookie_domain", ".mydomain.com")
No comments:
Post a Comment