In your session listener:

session.setMaxInactiveInterval(3);

means that after 3 seconds without any request to your server, your server 
will invalidate your session. So if you make the first request a new 
session will be created. If you then wait 3 seconds before doing the next 
request, you will get a new empty session because the previous one will be 
invalidated by your server.

So you should remove the line or increase the time significantly. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6uP6fyGsdDAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to