Loading ...
Sorry, an error occurred while loading the content.

Re: Storing Objects in a Session

Expand Messages
  • Perrin Harkins
    ... There s no need for you to use Storable. Apache::Session does it already. Just put your objects in the session. ... You can. ... Okay, so what s not
    Message 1 of 5 , Feb 2, 2005
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.