RE: [PHP] Retaining data across multiple sites
| From: | scott | Date: | Wed, 20 Feb 2002 17:18:09 +0000 |
| Subject: | RE: [PHP] Retaining data across multiple sites | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85552@lists.php.net to get a copy of this message | ||
They can... i've used the same code and the same database
server for two domains with no prob's.
The problem is cookies (as was mentioned previously)
If domainx.com writes a cookie, then no other domain
can (theoretically) access it.
> -----Original Message-----
> From: Chris Boget [mailto:chris@wild.net]
> Sent: Wednesday, February 20, 2002 11:43 AM
> To: Ben Sinclair; php-general@lists.php.net
> Subject: Re: [PHP] Retaining data across multiple sites
>
>
> > I could do that, but how would I keep track of the users? I don't think IP
> > addresses are reliable. I would also prefer to limit my database access.
>
> Are you using sessions? If so, you can keep track of users that way.
> I believe this would be the only solution available to you. I am not sure
> that multiple domains can access server side variable space.
>
> Chris
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>