> make sure of course too that session_start() is called from 
> in your code too. else your not using sessions :)

These are the 3 files I'm using; they all reside in the same dir:

"index.php"
<script language="php">
  session_start();

  header( "location: page1.php?" . SID );
  exit();       

</script>

"page1.php
<script language="php">
  session_start();

  echo "Your session id is: " . session_id();
        
  echo "<br><br>\n";
  echo "<a href=\"page2.php\">Page2</a>\n";

</script>

"page2.php"
<script language="php">
  session_start();

  echo "Your session id is: " . session_id();
        
  echo "<br><br>\n";
  echo "<a href=\"page1.php\">Page1</a>\n";

</script>

The PHPSESSID variable is *not* being passed on 
the url going between page1 and page 2 and the
session id is always different (obviously).
--enable-trans-sid IS turned on and I have no idea
what's going on...

Chris

Reply via email to