class Q.
| From: | Ben-Nes Michael | Date: | Wed, 24 May 2000 09:09:52 +0000 |
| Subject: | class Q. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15647@lists.php.net to get a copy of this message | ||
Hi
I read phpbuilder tutorial about classes & the class tutorial at zend
and learned from both of them allot.
But still I lake of the knowledge of how to add some of the variables in
class to session so it will available in the next pages.
I took the example of add-item-to-cart function in the php manual and it
works but when I go to other page all the work that been done is not
available any more.
I used "global" to overcome this problem but i don't think its the right
way.
How can I add information to the current session of the user within the
class ?
Any directions or hints will be thankfully welcome.
--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--------------------------