Re: Kill User Session On Browser Closed
Re: Kill User Session On Browser Closed
- Subject: Re: Kill User Session On Browser Closed
- From: Chuck Hill <email@hidden>
- Date: Wed, 23 Jan 2013 09:21:19 -0800
On 2013-01-23, at 7:46 AM, David LeBer wrote:
> Nothing to deal with your specific request, but:
>
> 1. Add more server/app instances to handle your users. ;)
>
> or
>
> 2. Ratchet your session timeout down even more, and put an Ajax 'ping' (i.e: an AjaxUpdateUpdateContainer with a periodic update frequency set of a 1 minute or so) on the page that keeps the session alive while the page is open.
This was what I did as well.
Chuck
>
> D
>
> On 2013-01-23, at 8:52 AM, Raymond NANEON <email@hidden> wrote:
>
>> Hi,
>>
>> In JavaMonitor I set my apps session TimeOut to 900s but I have 4000 Users so I want to kill imediatly the session on browser closed to free memory on the server.
>>
>> Thanks
>> Envoyé depuis iCloud
>>
>> Le 23 jan 2013 à 05:42, George Domurot <email@hidden> a écrit :
>>
>>> How about a simple META refresh tied to your session timeout setting?
>>>
>>> -G
>>>
>>> On Jan 23, 2013, at 5:26 AM, Raymond NANEON <email@hidden> wrote:
>>>
>>>> Hi List,
>>>>
>>>> I want to kill session of the web apps when user don't use logOut Button to quit the apps properly. I thought to this JavaScript but I think there is another way do it clearly
>>>> window.onunload = function () {
>>>>
>>>> if((window.event.clientX<0) && (window.event.clientY<0)) {
>>>>
>>>> window.open("logoffPage");
>>>>
>>>> }
>>>>
>>>> }
>>>>
>>>> Thanks for yout help
>>>> Envoyé depuis iCloud
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden