Re: Maintaining sessions across multiple sites
| From: | Matt M. | Date: | Fri, 30 Jul 2004 13:41:48 +0000 |
| Subject: | Re: Maintaining sessions across multiple sites | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192302@lists.php.net to get a copy of this message | ||
> I'm in the process of building an application that has an adminstration
> back-end shared by multiple sites. I need to maintain a persistent session
> across these sites to properly identify users. I'm using a db to store the
> session data but when switching from site to site, a new session_id is
> started.
>
> Does someone know of a good article that explains how to accomplish this
> effectively?
You could just make sure to always pass the session id in the query
string or a hidden field
here is a short article:
http://www.phpbuilder.com/columns/chriskings20001128.php3