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 sessions with session_register(),session_is_registered() and session_unregister().

There are obviously differences in how things are handled now and how they were handled then.

Can someone point me to a good session tutorial based on the session array rather than the pre-PHP 4.2 (I think that's the version when this was changed)?

Best regards,
Anders Thoresson


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



Reply via email to