Log user out of hotspot with browser close?

We are using 2.7.8 and I remember someone once posting some code to allow looging out a user from the hotspot if they vclose their browser window.

Or… is this in 2.8.15 - we have not upgraded as it will cost.

thanks,

Kiira
2tough.com

I haven’t been around long enough to see the post of which you speak but I can tell you what I did to enable this function.

I made changes to two of the .HTML files for the hotspot pages. The first was to the login.html page. I removed the tag for the checkbox under the login button which controlls the appearance of the popup status window and replaced it with the following:

This way regardless of what the user does, it opens the popup status window. Second, I edited the status.html file to include an additional item in the tag. The new tag read as follows:

The item I added was the onUnload= “return openLogout()” which means when the user closes the status window, they are logged out.

This might not be the cleanest way to impliment what you are looking to do but it gets the job done.

-Sam