Heh... okay, let's start over.The problem with SID is that it is defined as session_name=session_id if the client did not send session cookie. Otherwise it will be an empty string.
From Server1:
If you create a link like this:
<a href="server2/page.php?<?php echo SID; ?>">Server 2</a>
So the proper way is
<a href="server2/page.php?<?php echo session_name() . '=' . session_id(); ?>">Server 2</a>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php