How to Programmatically create RWT sessions [message #102692] |
Wed, 20 August 2008 10:54  |
Eclipse User |
|
|
|
Basically, I have a web site ( www.propertymapz.com/index.html ) where the
user can browse the Map.
However, if he/she logs-in successfully the Session Needs to be change (
without refreshing the whole window ).
Similarly when the user logs out the session needs to be changed to
different one.
The above use case is required as I can have longer session set when the
user logs in and revert to shorter session when the user logs out.
Another reason why I need to create a session is that if the user keeps the
website open for long time and then returns, it should not affect the user
experience.
If the session has timed out, then transparently create one and serve the
request.
Oh, the workaround to set a long timeout is not a solution as the resources
will be held for long time at the server.
Best Regards,
Walter Prabhakar.
|
|
|
Re: How to Programmatically create RWT sessions [message #102836 is a reply to message #102692] |
Fri, 22 August 2008 05:04  |
Eclipse User |
|
|
|
Hi Walter,
I don't think that RAP supports this, as each session holds the complete
state of each Client. See also the thread "ui persistence over browser
refresh".
Regards,
Stefan.
Walter Prabhakar schrieb:
> Basically, I have a web site ( www.propertymapz.com/index.html ) where
> the user can browse the Map.
> However, if he/she logs-in successfully the Session Needs to be change
> ( without refreshing the whole window ).
> Similarly when the user logs out the session needs to be changed to
> different one.
> The above use case is required as I can have longer session set when the
> user logs in and revert to shorter session when the user logs out.
> Another reason why I need to create a session is that if the user keeps
> the website open for long time and then returns, it should not affect
> the user experience.
> If the session has timed out, then transparently create one and serve
> the request.
>
> Oh, the workaround to set a long timeout is not a solution as the
> resources will be held for long time at the server.
>
> Best Regards,
> Walter Prabhakar.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04381 seconds