Posted by Geoff Berrow on 11/25/47 11:57
I've been trying to add a login to a script for a client and the server
is not playing ball.
In the spirit of best advice received here I simplified it down to the
basics.
p1.php
<?php
session_start();
$_SESSION['test']="test";
print "<a href='p2.php'>p2</a>";
?>
p2.php
<?php
session_start();
print_r($_SESSION);
?>
p2.php shows just an empty array. I've tried using
session_write_close() and also passing the session id via the URL.
Nothing.
Anyone got any ideas? PHP is 4.3.9, server is running Linux and Apache
--
Regards,
Geoff Berrow
Navigation:
[Reply to this message]
|