[PHP] newbie having problem with SID

2002-12-16 Thread Anders Thoresson
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

Re: [PHP] newbie having problem with SID

2002-12-16 Thread Ernest E Vogelsinger
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

Re: [PHP] newbie having problem with SID

2002-12-16 Thread Anders Thoresson
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

Re: [PHP] newbie having problem with SID

2002-12-16 Thread Chris Shiflett
--- 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