cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gentry, Michael \(Contractor\)" <>
Subject RE: accessing cayenne sessions
Date Tue, 04 Apr 2006 14:45:29 GMT
Yes, but using Tapestry you can have a common superclass for your pages
that provides a getSession() method and it works transparently.  You
don't need to think about Http*.


-----Original Message-----
From: Mike Kienenberger [] 
Sent: Tuesday, April 04, 2006 10:26 AM
Subject: Re: accessing cayenne sessions

On 4/4/06, Cyp her <> wrote:
> * Are there any convenient methods for accessing the Session like in
> WebObjects where there is a session class in the application?

In servlets, there's an HttpSession object that you can pull out of
the HttpServletRequest.   Instead of being a subclassable object, it
instead holds references to a Map (think NSDictionary) where you can
store objects the entire session.  How you get a reference to your
HttpSession object depends on the framework.

View raw message