Hi,
I'm just a few weeks into learning PHP, and now wants to understand
sessions. But I've run into trouble with the very first script I've tried,
even though it's more or less copied from the PHP manual.
?php
include (html_functions.php);
$title = Anders testing SID;
$header = ;
html_begin
At 12:46 04.12.2002, Anders Thoresson spoke out and said:
[snip]
?php echo $_COOKIE[PHPSESSID]?
BR
BR
Hello visitor, you have seen this page ?php echo $count; ? times.p
To continue, A HREF=visasida.php??php echo SID?click here/A
The session id isn't
You should use the session array ($_SESSION['count']) to handle session
persistent data:
Thanks. That solved my problem. At least for the moment. I know realize
that all books and all web site-prints I have covering sessions are not
using the session array, but the older way to handle
--- Anders Thoresson [EMAIL PROTECTED] wrote:
There are obviously differences in how things are
handled now and how they were handled then.
Yes, but I don't think there are as many differences as you
think.
Can someone point me to a good session tutorial
based on the session array rather
4 matches
Mail list logo