maybe something like this...

class mysession {
  Object object;

   attach() {
     super.attach();
     if 
(object==null&&getsessionstore().lookup(requestcycle.get().getrequest())!=null)
{
           object=...
     }}}

-igor

On Thu, Aug 20, 2009 at 7:53 AM, T Ames<[email protected]> wrote:
> I have read several posts about how to manually bind stateless pages in a
> custom WebSession object to the http session.  In my custom WebSession, I
> would like to create some objects, but only if and when the WebSession
> actually binds as normal when a stateful page is called up.
>
> Is there a method I can do this in?   The bind() method is final, so I
> cannot do it there.  I only want to create these objects once just as if
> they were in the constructor. I am assuming that the bind() method is only
> called once.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to