Is the session needed?

34 views
Skip to first unread message

Filippo De Luca

unread,
Nov 11, 2011, 5:56:02 AM11/11/11
to google-we...@googlegroups.com
Hi all,
I'm working on a GWT 2.3 app. I notice app uses the session to store login info and other stuff. There is a callback intercept the expired session and handle it. My question is: is in a GWT based app the session still needed? can I have a stateless server? thank you.

Juan Pablo Gardella

unread,
Nov 11, 2011, 8:03:36 AM11/11/11
to google-we...@googlegroups.com
Yes you can. Use the session if you need.

2011/11/11 Filippo De Luca <filosg...@gmail.com>
Hi all,
I'm working on a GWT 2.3 app. I notice app uses the session to store login info and other stuff. There is a callback intercept the expired session and handle it. My question is: is in a GWT based app the session still needed? can I have a stateless server? thank you.

--
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/-/8XeJIvbPts4J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Thomas Broyer

unread,
Nov 12, 2011, 4:21:40 AM11/12/11
to google-we...@googlegroups.com
GWT doesn't use or need a session. If you see a session being used, it must be user code (i.e. your code or a library you're using) or the servlet container (form-based authentication uses an HttpSession, for instance)

Filippo De Luca

unread,
Nov 16, 2011, 5:40:10 AM11/16/11
to google-we...@googlegroups.com
Thank you to both,
I looked deeply into the code. My application use the session to store login data and other stuffs. I am going to remove the session dependency step by step.
Reply all
Reply to author
Forward
0 new messages