UniverseUniversity


Home Projects Jobs Clientele Contact

uu


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Database schema



> The same can be achieved by setting lock timeout to the same value
> as session timeout.
>

Disagree. You'll have to do the same trick as with "EditorTimeout"
cookie(open temporary window), b/c our sessions are cookie based too.

> sergey@total-knowledge.com wrote:
>>>> I can call a servlet on background
>>>>
>>> This is the thing that troubles me. There is no easy portable secure
>>> way
>>> to do this, plus it won't work with high-security settings on most
>>> browsers.
>>>
>>
>> True. It's not worth the trouble.
>> Well, if we had a session IDs in DB as I suggested many times already,
>> we
>> could check in DB if there is a "locked" UMO for sessionId that already
>> ended. Then we could easily unlock it. A trigger could do the job.
>>
>>
>>>> (maybe "invisible"
>>>> popup window will be needed that will be servlet too) and use this
>>>> function to check if "EditorTimeout" exists for this UMO(UMO id will
>>>> be
>>>> the cookie value).
>>>> If not exist, I'm sure there will be a way to update the DB from the
>>>> "invisible" popup servlet. After job is done helper popup is killed.
>>>>
>>>>
>>>>
>>> --
>>> Ilya A. Volynets-Evenbakh
>>> Total Knowledge. CTO
>>> http://www.total-knowledge.com
>>>
>>>
>>>
>>
>>
>>
>
> --
> Ilya A. Volynets-Evenbakh
> Total Knowledge. CTO
> http://www.total-knowledge.com
>
>



Authoright © Total Knowledge: 2001-2008