Re: msession - giving me a hard time
| From: | Marek Kilimajer | Date: | Sat, 15 Nov 2003 09:24:29 +0000 |
| Subject: | Re: msession - giving me a hard time | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169730@lists.php.net to get a copy of this message | ||
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>