class Q.
[email protected] (Ben-Nes Michael)
| Newsgroups | php.version4 |
|---|---|
| Organization | Canaan Surfing Ltd. |
| Message-ID | <[email protected]> |
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 --------------------------