Hi,
anyone knows how to count the number of instances of the application
that are active in the browser?
I still couldn't solve this problem
Thanks!

On Tue, May 31, 2011 at 12:08 PM, Cibeles <[email protected]> wrote:
> Hi, i need to clean the user cookies (particulary the session ones)
> when the last tab or window of my application is closed, i've tried
> with:
> Window.addWindowClosingHandler(new ClosingHandler() {
>
>                        @Override
>                        public void onWindowClosing(ClosingEvent event) {
>                                String cookies[]= {"ya_conectado"};
>                                
> <my_package>.client.util.Cookies.limpiar_cookies(cookies); //This
> line cleans the cookies listed
>                        }
>                });
>
> but the problem is that if the user has two tabs open and want to
> close only one of them and continue working on the other, he can't
> because it has been logged out
> Is there any way of knowing if i have another tab with the application
> on it?
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>



-- 
Cele

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to