Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Session issue
Session issue [message #48262] Wed, 19 September 2007 15:43 Go to next message
Eclipse UserFriend
Originally posted by: nikoleta.tetracom.com

Hello all,
I've noticed a strange behavior of the RAP. I've got a GSP page, inside
my application directory on Tomcat, and the GSP has a link leading to my
RAP application. Session attributes are added in the GSP page. In the
moment my RAP application loads, all attributes are gone. The sesseion
is the same (I can see it from its ID), but there are no of the
attributes I have set in the GSP page. Is this a bug or a feature? How
can I set attributes to the session without to lose them ?
Re: Session issue [message #49310 is a reply to message #48262] Mon, 24 September 2007 08:03 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

RAP has a means to clear an existing session, that's what we call a
session restart. This happens for example when the user clicks he
browsers' refresh button. In LifeCycleServiceHandler#isSessionRestart()
the decision whether a session should be restarted is made.

It seems that this mechanism is triggered in the case you describe. If
you only want to pass attributes from the existing session to the RAP
application you could change the link like this:
http://host:1234/rap?startup=myApp&myParam1=a&myPara m2=b.
If it's required that the attributes of the existing session are still
available after the session restart, I don't know of a short-term
solution to make this work. Even though I would agree that this is a
valid request. Feel free to file a bug.

Cheers,
Rüdiger

Nikoleta Ivanova wrote:
> Hello all,
> I've noticed a strange behavior of the RAP. I've got a GSP page, inside
> my application directory on Tomcat, and the GSP has a link leading to my
> RAP application. Session attributes are added in the GSP page. In the
> moment my RAP application loads, all attributes are gone. The sesseion
> is the same (I can see it from its ID), but there are no of the
> attributes I have set in the GSP page. Is this a bug or a feature? How
> can I set attributes to the session without to lose them ?
Previous Topic:Export RAP App to Tomcat
Next Topic:Decorations
Goto Forum:
  


Current Time: Thu Apr 25 10:47:08 GMT 2024

Powered by FUDForum. Page generated in 0.03997 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top