Re: Storing Objects in a Session

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

From: Jonathan Vanasco
Subject: Re: Storing Objects in a Session
Date: 17:26 on 02 Feb 2005
On Feb 2, 2005, at 12:00 AM, David J Radunz wrote:
> Have you tried to freeze your object and then thaw it on retrieve?
>
> perl -MCPAN -e install Storable
> perldoc Storable

On Feb 2, 2005, at 12:28 AM, Perrin Harkins wrote:
> Yes, you put any object in Apache::Session as long as it can be 
> handled by Storable.  You'll need to tell us what you tried and what 
> didn't work about it before we can help you more.


I never thought of using storable.
I haven't actually done much work w/cookies and perl before
I thought i could just place an object in the tied session variable and 
voila!

I'll try some session storable stuff now --

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)

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