Multiple sessions in RAP [message #1006180] |
Wed, 30 January 2013 11:26 |
|
Hi all,
I know this is a topic that has been talked about much previously, but I wondered if anything had changed in recent months that meant that multiple sessions for RAP applications can now run in different tabs of the browser?
"The server session timed out. Please click here to restart the session" is the error I'm getting in the 1st tab as soon as I open the 2nd tab and start my app there too.
Ok, expected, according to other threads that I've read, but they are all back in 2009/2010.
I have also read about disabling cookies in Jetty and Tomcat to overcome this, but it may not be Jetty or Tomcat being used - the choice of appserver will be down to our users, and could well be anything - WebLogic, WebSphere, JBoss etc. and the appserver might well be used for other applications and purposes which mean that this setting cannot be applied.
Is there something more generic that can be used, perhaps programmatically in my RAP application code rather than relying on appserver configuration, and something that will work across all appservers?
Just to be clear, I do NOT want to share session information between tabs - these need to be entirely independent sessions - the same as if they were in different browsers, or on different devices.
... or am I stuck in restricting the use of tabs in my application?
Thanks, John
---
Just because you can doesn't mean you should
|
|
|
Re: Multiple sessions in RAP [message #1006307 is a reply to message #1006180] |
Wed, 30 January 2013 18:34 |
|
Hi John,
There aren't any changes in the area, but multi-tab support is on our
list for RAP 2.1.
> Just to be clear, I do NOT want to share session information between
> tabs - these need to be entirely independent sessions - the same as if
> they were in different browsers, or on different devices.
You won't get different HttpSessions for different tabs unless you
disable cookies because browsers have a shared cookie store. But if you
keep login information in the UISession, it should become possible in
2.1 to let different tabs appear as separate sessions.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02030 seconds