By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

Sessions and objects

P: n/a
Hi,

This may be a dumb question, but can an object be loaded and "persist"
for the duration of a user session?

Cheers,
Daniel

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

On 26-Oct-2003, daniel <da****@dlpage.com> wrote:
This may be a dumb question, but can an object be loaded and "persist"
for the duration of a user session?


Yes, assign it to a session variable

$_SESSION['myobject'] = new objectclass();

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it's reserved for spammers)
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.