Add to that the thread name. This way you can track session usage
across threads.
Martijn
On 4/8/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> can you also log the http session id and the hash/id of the WicketSession?
>
>
> On Mon, Apr 7, 2008 at 11:22 PM, Edvin Syse <[EMAIL PROTECTED]> wrote:
>
> > Igor Vaynberg wrote:
> >
> > > can you try with 1.3.1, 1.3.0. would help us isolate where the problem
> > > is...
> > >
> > > seems kind of strange that you are the only one seeing this though...
> > >
> >
> > I've turned on some logging in MySession:
> >
> > public MailUser getCurrentMailuser() {
> > try {
> >
> >
> System.out.println(((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getRemoteAddr()
> > + " got mailuser " + currentMailuser.getId() + " " +
> > currentMailuser.getUsername());
> > } catch (Exception ignored) {}
> > return currentMailuser;
> > }
> >
> > This gives me output like:
> >
> > 85.165.86.192 got mailuser 19712 [EMAIL PROTECTED]
> > 77.208.58.135 got mailuser 22817 [EMAIL PROTECTED]
> >
> > these are fine, but then I suddenly get:
> >
> > 84.215.17.110 got mailuser 21024 [EMAIL PROTECTED]
> > 84.215.17.110 got mailuser 21740 [EMAIL PROTECTED]
> >
> >
> > Trouble! One user got the session for two different users on two
> > subsequent requests..
> >
> > Any ide? This is really killing me.. :(
> >
> > -- Edvin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]