Re: Why are new sessions created until wicket form

2008-01-30 Thread Damian Penney
Thanks so much Igor, the quick reply is much appreciated. Damian Igor Vaynberg wrote: your page is stateless because it just has a label on it. stateless pages do not create a session. if a stateless page is hit and no session is yet created wicket will create a fake session so that getsession

Re: Why are new sessions created until wicket form

2008-01-30 Thread Igor Vaynberg
your page is stateless because it just has a label on it. stateless pages do not create a session. if a stateless page is hit and no session is yet created wicket will create a fake session so that getsession() still returns something meaningful - but this session object will not be stored into the

Why are new sessions created until wicket form

2008-01-30 Thread Damian Penney
Why are new sessions created until wicket finds a form? I have a Session subclass that has a field clicks. On page A I grab the session and show the number of clicks. Everytime I refresh the click count is 0, and the newSession method is called in WebApplication. add(new Label("clickCount",