Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Starting of a new session
Starting of a new session [message #513578] Wed, 10 February 2010 15:30 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello Rap people,

How can I start a new session?

Ideally, I would like to have an action for that. Let's say it's
File/Exit. And when this action is executed, browser gets refreshed with
a brand new session.

Thanks,

Dmitry
Re: Starting of a new session [message #513616 is a reply to message #513578] Wed, 10 February 2010 17:04 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
See the FAQ:
http://wiki.eclipse.org/RAP/FAQ#How_to_switch_locale.2Flangu age_on_user_action.3F

On 10.02.2010 16:30, Dmitry Pryadkin wrote:
> Hello Rap people,
>
> How can I start a new session?
>
> Ideally, I would like to have an action for that. Let's say it's
> File/Exit. And when this action is executed, browser gets refreshed with
> a brand new session.
>
> Thanks,
>
> Dmitry
Re: Starting of a new session [message #513675 is a reply to message #513616] Wed, 10 February 2010 18:56 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Rüdiger,

I'm sorry - there's one more question. Will I get a new session id after
that?

Rüdiger Herrmann wrote:
> See the FAQ:
> http://wiki.eclipse.org/RAP/FAQ#How_to_switch_locale.2Flangu age_on_user_action.3F
>
>
> On 10.02.2010 16:30, Dmitry Pryadkin wrote:
>> Hello Rap people,
>>
>> How can I start a new session?
>>
>> Ideally, I would like to have an action for that. Let's say it's
>> File/Exit. And when this action is executed, browser gets refreshed with
>> a brand new session.
>>
>> Thanks,
>>
>> Dmitry
Re: Starting of a new session [message #513685 is a reply to message #513675] Wed, 10 February 2010 14:48 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 10.02.2010 19:56, Dmitry Pryadkin wrote:
> Rüdiger,
>
> I'm sorry - there's one more question. Will I get a new session id after
> that?
No, the session id will stay the same. Is it that you need a new id?

>
> Rüdiger Herrmann wrote:
>> See the FAQ:
>> http://wiki.eclipse.org/RAP/FAQ#How_to_switch_locale.2Flangu age_on_user_action.3F
>>
>>
>> On 10.02.2010 16:30, Dmitry Pryadkin wrote:
>>> Hello Rap people,
>>>
>>> How can I start a new session?
>>>
>>> Ideally, I would like to have an action for that. Let's say it's
>>> File/Exit. And when this action is executed, browser gets refreshed with
>>> a brand new session.
>>>
>>> Thanks,
>>>
>>> Dmitry
Re: Starting of a new session [message #513753 is a reply to message #513685] Thu, 11 February 2010 06:26 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Rüdiger,

You are right, I need a new Id.

Dmitry

Rüdiger Herrmann wrote:
> On 10.02.2010 19:56, Dmitry Pryadkin wrote:
>> Rüdiger,
>>
>> I'm sorry - there's one more question. Will I get a new session id after
>> that?
> No, the session id will stay the same. Is it that you need a new id?
>
>>
>> Rüdiger Herrmann wrote:
>>> See the FAQ:
>>> http://wiki.eclipse.org/RAP/FAQ#How_to_switch_locale.2Flangu age_on_user_action.3F
>>>
>>>
>>>
>>> On 10.02.2010 16:30, Dmitry Pryadkin wrote:
>>>> Hello Rap people,
>>>>
>>>> How can I start a new session?
>>>>
>>>> Ideally, I would like to have an action for that. Let's say it's
>>>> File/Exit. And when this action is executed, browser gets refreshed
>>>> with
>>>> a brand new session.
>>>>
>>>> Thanks,
>>>>
>>>> Dmitry
Re: Starting of a new session [message #513968 is a reply to message #513753] Thu, 11 February 2010 20:07 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 11.02.2010 07:26, Dmitry Pryadkin wrote:
> Rüdiger,
>
> You are right, I need a new Id.
Well, if you really need a new session id (I am curious for what
reason), then you could experiment with invalidating the underlying http
session before forcing the client to refresh. See
HttpSession#setMaxInactiveInterval()
However, I consider this a bad hack - so do it at you own risk and
better think hard about a way to avoid at all :)

>
> Dmitry
>
> Rüdiger Herrmann wrote:
>> On 10.02.2010 19:56, Dmitry Pryadkin wrote:
>>> Rüdiger,
>>>
>>> I'm sorry - there's one more question. Will I get a new session id after
>>> that?
>> No, the session id will stay the same. Is it that you need a new id?
>>
>>>
>>> Rüdiger Herrmann wrote:
>>>> See the FAQ:
>>>> http://wiki.eclipse.org/RAP/FAQ#How_to_switch_locale.2Flangu age_on_user_action.3F
>>>>
>>>>
>>>>
>>>> On 10.02.2010 16:30, Dmitry Pryadkin wrote:
>>>>> Hello Rap people,
>>>>>
>>>>> How can I start a new session?
>>>>>
>>>>> Ideally, I would like to have an action for that. Let's say it's
>>>>> File/Exit. And when this action is executed, browser gets refreshed
>>>>> with
>>>>> a brand new session.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Dmitry


--
Rüdiger Herrmann
http://eclipsesource.com
Previous Topic:PShelf
Next Topic:Question about the org.eclipse.rap.flexdraw2d bundle and the Innoopract Informationssysteme GmbH.
Goto Forum:
  


Current Time: Tue Apr 23 11:10:59 GMT 2024

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

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

Back to the top