Re: Storing Objects in a Session

[prev] [thread] [next] [Date index for 2005/02/02]

From: Perrin Harkins
Subject: Re: Storing Objects in a Session
Date: 17:39 on 02 Feb 2005
On Wed, 2005-02-02 at 12:26 -0500, Jonathan Vanasco wrote:
> I never thought of using storable.

There's no need for you to use Storable.  Apache::Session does it
already.  Just put your objects in the session.

> I thought i could just place an object in the tied session variable and 
> voila!

You can.

> I'm basically trying to store the UserProfile object into the session, 
> so I can use the methods I've made to access data in it rather than 
> accessing the data directly (ideally, so that less things break in the 
> future)

Okay, so what's not working about it?  Show us some code and some error
messages.

- Perrin

Storing Objects in a Session
jonathan vanasco 04:52 on 02 Feb 2005

Re: Storing Objects in a Session
David J Radunz 05:00 on 02 Feb 2005

Re: Storing Objects in a Session
Jonathan Vanasco 17:26 on 02 Feb 2005

Re: Storing Objects in a Session
Perrin Harkins 17:39 on 02 Feb 2005

Re: Storing Objects in a Session
Perrin Harkins 05:28 on 02 Feb 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52