Your code didn't transmit very well, so I can't tell for sure, but most likely 
the problem is that you need to add scope="session" to your <state-object> 
definition.

HTH,
-Jason

On Thursday 09 March 2006 09:42, Apache wrote:
> Dear Howard Lewis Ship,
>
> We are a pooor team of 4 developers and we are desperate because we have a
> very short deadline. We are trying to use the Session with tapestry 4.0. in
> order to keep login data persistent throw the session.
>
> We tried like this:
>
> A) in WEB-INF/hivemodule.xml we have:
>
>
>
>
>
>
>
>
>
>
> the kernel.application.session.Session is the object we want to keep it
> session persistent
>
> B) an example of .page are:
>
>
>
>
>     add a description
>
>
>
> C) and in java we have:
> public abstract class Home extends AppBasePage implements
> PageBeginRenderListener{ ....
>     public abstract Session getSession();
>
>     public abstract void setSession(Session loginData);
> .....
> we use getSession() to deal with the Session inject
>
> The problem is that Our Session object's behavior is like an Application
> global object, not as a Session one. When the second user logged in the
> previous Session is overwritten with the news Session.
>
> Please tell us where we are wrong.
>
> Thank you for reading this. And we are thank You twice if You can bring
> some tiny whinny little help.
>
> --------
> mr B
>
>
> -------------------- m2f --------------------
>
> Sent from www.TapestryForums.com
>
> Read this topic online here: <<topic_link>>
>
> http://www.tapestryforums.com/viewtopic.php?p=14502#14502
>
> -------------------- m2f --------------------

-- 
Q:      How many lawyers does it take to change a light bulb?
A:      You won't find a lawyer who can change a light bulb.  Now, if
        you're looking for a lawyer to screw a light bulb...
--------------
Jason Dyer
BlueTarp Financial, inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to