Home » Eclipse Projects » Remote Application Platform (RAP) » Starting of a new session
Starting of a new session [message #513578] |
Wed, 10 February 2010 10:30  |
Eclipse User |
|
|
|
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 01:26   |
Eclipse User |
|
|
|
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 15:07  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Wed Jul 23 20:49:02 EDT 2025
Powered by FUDForum. Page generated in 0.05549 seconds
|