You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Andre Schütz <wi...@faustas.de> on 2012/04/14 20:47:16 UTC

Data in session and debugger

Hi,

I tried the debugBar in my WebPage and could analyze the session
size and the data of the Inspector.

When I stored some data in the session, the debugBar stopped working.
I says Page:unknown and could no longer display the size of the session.

Let me explain my program. I have two WebPage classes. Page1 and Page2.

Page1: Search box and submit button -> stores the search result in a session
variable (ResultClass).
Page2: show the result in a listing

When I stop storing the ResultClass in the session, the debugBar works
fine. With storing the ResultClass in the session, the debugBar does no
longer display the session size and Page information.

The ResultClass is Serializable.

Any idea why the debugBar does not work when I store the result in
the session?

Thanks,
Andre

-- 
Andre Schütz <wi...@faustas.de>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Data in session and debugger

Posted by Bertrand Guay-Paquet <be...@step.polymtl.ca>.
Hi,

Is the ResultClass Serializable (members + itself implement 
Serializable)? If not, you should see stack traces in the logs each time 
a page is rendered.

On 14/04/2012 2:47 PM, Andre Schütz wrote:
> Hi,
>
> I tried the debugBar in my WebPage and could analyze the session
> size and the data of the Inspector.
>
> When I stored some data in the session, the debugBar stopped working.
> I says Page:unknown and could no longer display the size of the session.
>
> Let me explain my program. I have two WebPage classes. Page1 and Page2.
>
> Page1: Search box and submit button ->  stores the search result in a session
> variable (ResultClass).
> Page2: show the result in a listing
>
> When I stop storing the ResultClass in the session, the debugBar works
> fine. With storing the ResultClass in the session, the debugBar does no
> longer display the session size and Page information.
>
> The ResultClass is Serializable.
>
> Any idea why the debugBar does not work when I store the result in
> the session?
>
> Thanks,
> Andre
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org