Re: One Session(HTTP) for multiple GWT-Modules?
And how can i track the session id? I can store the sessionId at the client-side (for users which have cookies disabled), but if they reload the client-side the sessionId will be lost. So, what do you think: Will it be a good solution to add the sessionId into the URL to enable session tracking for users without cookies enabled? Or is there another way? Regards On 18 Mrz., 05:04, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: No. SessionId is create. 2011/3/17 Johannes Stein johannes.st...@googlemail.com Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
Any ideas? Or would you recommend to use Cookies only? On 22 Mrz., 16:12, Johannes Stein johannes.st...@googlemail.com wrote: And how can i track the session id? I can store the sessionId at the client-side (for users which have cookies disabled), but if they reload the client-side the sessionId will be lost. So, what do you think: Will it be a good solution to add the sessionId into the URL to enable session tracking for users without cookies enabled? Or is there another way? Regards On 18 Mrz., 05:04, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: No. SessionId is create. 2011/3/17 Johannes Stein johannes.st...@googlemail.com Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
Read this http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ 2011/3/22 Johannes Stein johannes.st...@googlemail.com And how can i track the session id? I can store the sessionId at the client-side (for users which have cookies disabled), but if they reload the client-side the sessionId will be lost. So, what do you think: Will it be a good solution to add the sessionId into the URL to enable session tracking for users without cookies enabled? Or is there another way? Regards On 18 Mrz., 05:04, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: No. SessionId is create. 2011/3/17 Johannes Stein johannes.st...@googlemail.com Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
But if i have two seperate modules each client will get a different sessionId from the server (rpc-call), because the servers interprets each module as a single client!? On 16 Mrz., 20:00, Johannes Stein johannes.st...@googlemail.com wrote: No ideas? On 16 Mrz., 18:58, Johannes Stein johannes.st...@googlemail.com wrote: Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a different session-id? And what happens, if the users browser has cookies disabled? Is there a way to rewrite the url like in JSP or Servlets? On 16 Mrz., 18:47, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into the user-area he should be able to write comments etc. in the game-gui (the other module). is it possible to share a http-session between the modules? what could be a solution? thanks for any help! johannes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
No. SessionId is create. 2011/3/17 Johannes Stein johannes.st...@googlemail.com Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice only one time right?. Both gmail instances will share the session. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into the user-area he should be able to write comments etc. in the game-gui (the other module). is it possible to share a http-session between the modules? what could be a solution? thanks for any help! johannes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a different session-id? And what happens, if the users browser has cookies disabled? Is there a way to rewrite the url like in JSP or Servlets? On 16 Mrz., 18:47, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into the user-area he should be able to write comments etc. in the game-gui (the other module). is it possible to share a http-session between the modules? what could be a solution? thanks for any help! johannes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
No ideas? On 16 Mrz., 18:58, Johannes Stein johannes.st...@googlemail.com wrote: Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a different session-id? And what happens, if the users browser has cookies disabled? Is there a way to rewrite the url like in JSP or Servlets? On 16 Mrz., 18:47, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into the user-area he should be able to write comments etc. in the game-gui (the other module). is it possible to share a http-session between the modules? what could be a solution? thanks for any help! johannes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One Session(HTTP) for multiple GWT-Modules?
But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Yes, is possible. Will the Session be the same, or will each call (from different modules) deliver a different session-id? I handle this with Spring security, is transparent. If you don't use Spring security search other threads that explain this. And what happens, if the users browser has cookies disabled? Is there a way to rewrite the url like in JSP or Servlets? I handle this with Spring security, is transparent. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a different session-id? And what happens, if the users browser has cookies disabled? Is there a way to rewrite the url like in JSP or Servlets? On 16 Mrz., 18:47, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into the user-area he should be able to write comments etc. in the game-gui (the other module). is it possible to share a http-session between the modules? what could be a solution? thanks for any help! johannes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.