Home » Eclipse Projects » Remote Application Platform (RAP) » Starting of a new session
| | | |
Re: Starting of a new session [message #513753 is a reply to message #513685] |
Thu, 11 February 2010 06:26 |
Dmitry Pryadkin 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 |
Rüdiger Herrmann 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
|
|
|
Goto Forum:
Current Time: Wed Oct 09 19:26:00 GMT 2024
Powered by FUDForum. Page generated in 0.04002 seconds
|