John W. Holmes wrote:
Heh... okay, let's start over.

From Server1:

If you create a link like this:

<a href="server2/page.php?<?php echo SID; ?>">Server 2</a>

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.

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



Reply via email to