Re: Storing Objects in a Session
[prev]
[thread]
[next]
[Date index for 2005/02/02]
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