Hi,

I eventually decided on putting a small javaScript code that simply polls
the server (in Ajax) every 5 minutes.
This way users that will leave the browser open will simply never lose the
session.
It seems to me like a decent and simple solution, although it works around
the problem.

Guy.

On Tue, Aug 11, 2009 at 7:48 AM, Anton Gavazuk <[email protected]>wrote:

> Hi Guy,
>
> have you found any solution?
>
> Thanks,
> Anton
>
>
> 2009/7/19 Guy Bashan <[email protected]>
>
>> Hi Bruno,
>> Thanks, for your answer. I am familiar with this solution.
>> I think this issue can be handled, by allowing to disable ViewState
>> handling.
>> Something like: <f:view disableState="true">
>> I heard that it is possible in APS.NET.
>>
>> Thanks,
>> Guy.
>>
>>
>> On Sun, Jul 19, 2009 at 2:40 PM, Bruno Aranda <[email protected]>wrote:
>>
>>> Not a solution, but as a workaround for this situation, what we
>>> usually do is to have a poll component that is invoked every let's say
>>> 20 minutes, so the session does not die while the window is open...
>>>
>>> Bruno
>>>
>>> 2009/7/19 Guy Bashan <[email protected]>:
>>> > Hi,
>>> >
>>> > Is it possible to disable ViewState for a specific page?
>>> > If a user enters to a login page, then waits for session to expire,
>>> then put
>>> > login details and press submit a ViewExpiredException will be thrown.
>>> > This issue can be easily solved if no ViewState will be saved for the
>>> the
>>> > login page.
>>> >
>>> > Thanks,
>>> > Guy.
>>> >
>>>
>>
>>
>

Reply via email to