Transition from APS to PHP session programming
| From: | Khwezi M. Mngoma | Date: | Thu, 12 Sep 2002 06:54:25 +0000 |
| Subject: | Transition from APS to PHP session programming | ||
| Groups: | php.doc.chm | ||
| Request: | Send a blank email to php-doc-chm+get-502@lists.php.net to get a copy of this message | ||
Greetings, I am halfway through my transition from ASP (Access - SQL
Server) to PHP (MySQL). I am in charge of back-end programming for a
trading portal.
What I have problem with session programming in PHP, I have to provide
means to keep track of visitor movements over long periods of time.
One function of these sessions would be to allow for hit counters. I have
used the following (pardon me if I get the syntax wrong)
<?php
session.register("Count");
$count++ #or HTTP_SESSION_VARS["count"]++;
?>
The above lines will then be executed everytime for that specific
visitor. I would like to be abble to have something that functions the
same way as the Application object in ASP .
Now, in short: If someone can help me find ways to program efficiently
and reliebly in PHP using objects similar to ASP's Session and
Application objects, I would be very happy. Thanks.
PS: If you don't have the solution. Please pass this message on to the next
person