HTTP Session Problem

2010-12-21 Thread skippy
I am using this in a serviceImpl class:

HttpSession session = getThreadLocalRequest().getSession();

Sometimes when a user has two tabs in IE opened to different logons to
different banks, the getSession() returns the wrong HTTP Session and
the user is able to see data from the wrong bank.

We are using GWT 2.0.4.

-- 
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-tool...@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: HTTP Session Problem

2010-12-21 Thread Jeff Schwartz
It would probably help to know if this is in dev or prod.

On Dec 21, 2010 9:22 AM, skippy al.leh...@fisglobal.com wrote:

I am using this in a serviceImpl class:

HttpSession session = getThreadLocalRequest().getSession();

Sometimes when a user has two tabs in IE opened to different logons to
different banks, the getSession() returns the wrong HTTP Session and
the user is able to see data from the wrong bank.

We are using GWT 2.0.4.

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: HTTP Session Problem

2010-12-21 Thread skippy
This is happining in production in a J2ee Struts like application.
(Sun Blueprint MVC)
Not Hosted mode.


On Dec 21, 8:35 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
 It would probably help to know if this is in dev or prod.

 On Dec 21, 2010 9:22 AM, skippy al.leh...@fisglobal.com wrote:

 I am using this in a serviceImpl class:

 HttpSession session = getThreadLocalRequest().getSession();

 Sometimes when a user has two tabs in IE opened to different logons to
 different banks, the getSession() returns the wrong HTTP Session and
 the user is able to see data from the wrong bank.

 We are using GWT 2.0.4.

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubs­cr...@googlegroups.com
 .
 For more options, visit this group 
 athttp://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-tool...@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: HTTP Session Problem

2010-12-21 Thread Thomas Broyer
Sessions are maintained by a cookie, and cookies are global to a browser, 
not local to a tab. Your user will probably experience issues with most (if 
not all) other webapps out there.
(there's really nothing specific to GWT actually)

-- 
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-tool...@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.