Use httpsessionlistener http://www.xyzws.com/servletfaq/when-do-i-use-httpsessionlistener/7
In the sessionCreated method, just create an Exception and log it to examine the traces - or even throw it if you don't want any sessions at all and want to be 100% sure :) On Wed, Jan 28, 2009 at 1:49 AM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > Em Tue, 27 Jan 2009 19:40:13 -0300, Tomas Kolda <ko...@web2net.cz> escreveu: > >> is there a simple way to detect which part or component of my page forces >> Session creation? I do not have @Persist or @ApplicationState in page class >> and it still create session. > > I wish I knew, but, by default, the Form component uses the session to store > validation info. > Try putting @Meta("tapestry.persistence-strategy=client") in your page > classes or in your components instances. Something like > > @Component > @Meta("tapestry.persistence-strategy=client") > private Form form; > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org