Forum Moderators: coopster

Message Too Old, No Replies

Managing session of 'mydomain2.com' from 'mydomain1.com'

two domains, one unique session?

         

guarriman

11:45 am on Dec 14, 2006 (gmt 0)

10+ Year Member



Hi.

Working with PHP 4, I want to manage sessions for users visiting 'mydomain2.com' by using a PHP script within 'mydomain1.com' (They both are in the same web server)

I find some problems, cause 'mydomain1.com' script doesn't identify user visiting 'mydomain2.com'. I tried to use
-------
php_value session.cookie_domain "mydomain1.com"
------
within 'mydomain2.com' Apache configuration, but it doesn't work (I suppose it doesn't anything to do with cookies, right?).

Any suggestion is appreciated. Thank you very much.

barns101

6:43 pm on Dec 14, 2006 (gmt 0)

10+ Year Member



A website cannot read a cookie set by another website.

eelixduppy

4:01 am on Dec 15, 2006 (gmt 0)



There is a way around this. Check a Search [google.com] for some related threads.

>>>posts:1043

My favorite radio station :)