Re: Logout user on tab closing

2015-05-19 Thread Thorsten Sanders
I wouldnt do that at all, lets take ebay as an example when I use that I have several tabs at the same time open and it would be really annoying if I get a logout if I close one of those tabs and the same is true for many other sites. Same is true for my bank too, they just do a logout if I do

Re: Logout user on tab closing

2015-05-19 Thread Gergely Polonkai
Well, onunload can be used if you are creating a one-page app, e.g. by using AngularJS. With multipage apps, this is of no use. On 19 May 2015 16:54, "Javier Guerra Giraldez" wrote: > On Tue, May 19, 2015 at 8:23 AM, Miloš Milovanović > wrote: > > I want to logout a user from application when th

Re: Logout user on tab closing

2015-05-19 Thread Javier Guerra Giraldez
On Tue, May 19, 2015 at 8:23 AM, Miloš Milovanović wrote: > I want to logout a user from application when the application tab is closed. the browser doesn't notify the server when the tab (or window) is closed. remember that the original web architecture was simply about downloading HTML docume