Re: Storing Objects in a Session

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

From: David J Radunz
Subject: Re: Storing Objects in a Session
Date: 05:00 on 02 Feb 2005
On Tue, 2005-02-01 at 23:52 -0500, jonathan vanasco wrote:
> slightly OT, but i'm doing this in mod_perl!
>=20
> server
> 	Apache/2.0.52 (Unix)
> 	mod_perl/1.99_16
> 	Perl/v5.8.1
>=20
> use
> 	use Apache::Cookie;
> 	use Apache::Request ();
> 	use Apache::Session;
> 	use Apache::Session::File;
>=20
> is there any way to store an object into an Apache Session ?
>=20

Have you tried to freeze your object and then thaw it on retrieve?

perl -MCPAN -e install Storable
perldoc Storable

> all attempts have been fruitless.  i'd rather not rebuild the object =
by=20
> hand each time, but if needed i will.
>=20

This email and any files transmitted with it are confidential and =
intended solely for the=20
use of the individual or entity to whom they are addressed. Please =
notify the sender=20
immediately by email if you have received this email by mistake and =
delete this email=20
from your system. Please note that any views or opinions presented in =
this email are solely
 those of the author and do not necessarily represent those of the =
organisation.=20
Finally, the recipient should check this email and any attachments for =
the presence of=20
viruses. The organisation accepts no liability for any damage caused by =
any virus=20
transmitted by this email.=20

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