note 74446 deleted from language.oop5.typehinting by colder
| From: | colder@php.net | Date: | Wed, 11 Apr 2007 21:45:41 +0000 |
| Subject: | note 74446 deleted from language.oop5.typehinting by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125312@lists.php.net to get a copy of this message | ||
Note Submitter: anna.sobiepanek<the at sign>gmail.com
----
Not really a note but a Question:
I am making a system(accessed through http) for a company that will require user to enter
information about clients, update records, print reports, add payments etc.
I just wanted to know how do i go about passing my object to the next page.
Ie: On login, I set an object $currentUser = new user(..);
When the user clicks on a button (to do a task, ex: results) the program goes into a different php
page, how do i know that $currentUser is the same user as in login.php? Do I have to set a global
scope? Do I pass a reference to $currentUser via _POST??
I am not sure how this works?
Can someone explain it??