objects stored in sessions
- From: mdw1982@xxxxxxxxxxx (Mark Weaver)
- Date: Sun, 06 Apr 2008 11:02:07 -0400
Hi All,
I've got something on my little mind, and please keep in mind I'm still somewhat new to PHP Oop, so please excuse my silly ass if I ask something that should be obvious.
I've got an application that I'm re-writing from PERL to PHP Oop. At the beginning of the application, at log in, a session is created for this user. What I would like to do is create a user object and store object properties in that session.
So, if I create a user object, set the properties of said user object and store that object in the user session will that object be available throughout the application from the session?
thanks,
--
Mark
-------------------------
the rule of law is good, however the rule of tyrants just plain sucks!
Real Tax Reform begins with getting rid of the IRS.
==============================================
Powered by CentOS5 (RHEL5)
.
- Follow-Ups:
- Re: [PHP] objects stored in sessions
- From: Kevin Waterson
- Re: [PHP] objects stored in sessions
- From: Richard Heyes
- Re: [PHP] objects stored in sessions
- Prev by Date: Re: [PHP] Posting Summary for Week Ending 4 April, 2008: php-general@lists.php.net
- Next by Date: Re: [PHP] objects stored in sessions
- Previous by thread: Re: [PHP] Posting Summary for Week Ending 4 April, 2008: php-general@lists.php.net
- Next by thread: Re: [PHP] objects stored in sessions
- Index(es):
Relevant Pages
|