Your Ad Here

This Blog is not to read or go through

because, I have never been such a mess

Search the blog instead

Friday, November 7, 2008

Pass Sessions between subdomains in php

If needed to be able to pass session data between subdomains, add the following to the php.ini file.
session.cookie_domain =

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", "")
Your Ad Here