I've been using up until a day or so ago version 4.0.6.
I'm moving everything now to 4.3.2 but
having problems with sessions. I've tried a basic example
but can't retrieve session values.
Can anyone tell me what I'm doing wrong? I see the session file
is created but can't retrieve its value. What is interesting
is the script I go to in order to retrieve my value also created
a file but it's empty. Thanks in advance.

php example

<?php
$title="SESSION_TEST_SESSION_ONE";
 session_start();
 $_SESSION['count'] = 15;

?>

<html>
<head>
<title><? echo $title; ?></title>
<h3><? echo $count; ?></h3>
</head>
<body>
<? echo $_SESSION['count']; ?>
<? echo "      "; ?>
<a href=session_next.php>session_next</a><br>
</body>
</html>

*****************session_next.php
#!/bin/php

<?php
$title="SESSION_NEXT";
 session_start();
?>

<html>
<head>
<title><? echo($title); ?></title>
</head>
<body>
<? echo "    "; ?>
<h3><? echo $_SESSION['count']; ?></h3>
</body>
</html>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to