[Catalyst] Accessing arbitrary session data of a given ID - Store::DBI

anthony.okusanya at usbank.com anthony.okusanya at usbank.com
Tue Oct 25 14:34:24 GMT 2016

        you can access session data via $c->session just like you would 
the stash ($c->stash)
except that any data you save in the session is available across requests 
until the session expires.


Tony B. Okusanya 

From:   Hector Azpurua <h3ct0r.ml at gmail.com>
To:     catalyst at lists.scsys.co.uk
Date:   10/23/2016 04:55 PM
Subject:        [Catalyst] Accessing arbitrary session data of a given ID 
-       Store::DBI


Is there a recommended way to access or modify session data stored in
database with Store::DBI ?

In my particular case, I wanted to update the product 'cart', which is
stored in the user session, to add or remove products/elements. I
ended up using a new table for the cart, but nevertheless, I'm still
wondering if there is a nice way to do it editing the session on the


List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: 
Dev site: http://dev.catalyst.perl.org/

U.S. BANCORP made the following annotations
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20161025/d7f2fec7/attachment.htm>

More information about the Catalyst mailing list