Hello,
I'm experiencing trouble using sessions in my php scripts:
on my local machine (IIS, php 4.3.7) everything appears to work well, but when I upload to the server (Apache, php 4.0.6, phpinfo:http://www.gymsport.be/test.php), none of the session variables seem to work
to test the problem once more, i've made the following 2 files:
sessionid.php
<?php
session_start();
$session_id=session_id();
session_register('session_id');
?>
<a href="showsessionid.php">id</a>
and
showsessionid.php
<?php
session_start();
$session_id=$_SESSION['session_id'];
echo $session_id;
?>
again, it works on my machine (the sessionid is displayed)
however, when i upload it to the server, nothin seems to happen (showsessionid.php is a blank screen)
something i've already checked:
register_globals is enabled on the server
anyone who can help me out? i'd greatly appreciate it
thanx