Using timeout webclient

Forum to discuss the Web client version of Servoy.

Re: Using timeout webclient

Postby ngervasi » Tue Dec 21, 2010 12:18 pm

Go for the Usermanager plugin, you will be able to read idle time and do much more. One thing that comes to my mind and it's very helpful is to be able to see which client is locking a record and notify the user, something that Servoy should do out of the box. You will be able to do everything you do in the admin pages programmatically.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Using timeout webclient

Postby david » Tue Dec 21, 2010 6:29 pm

And then there is the totally hack way. Still works:

http://www.servoymagazine.com/home/2007 ... ting-.html
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Using timeout webclient

Postby udrescu_bogdan » Wed Dec 22, 2010 10:49 am

Nice article, indeed. :D I didn't thought about this. David, you are a genius.

Maybe Servoy should think to provide also the idle time. Or maybe even better to add a property to the server: "Shut down idle clients after X minutes". It would be very helpful.

Another question, when I shut down a web client, even from the server admin page, nothing happen on the client side. The page remain the same. Actually, only is user press a button or something that request data from the server, then the solution is redirected to the error page, and after the user selects again the solution, he is redirected to the expire page, and finally, after the choose again the solution he will have it.
Normally will be that when a web client is shut down, to be redirected to the session expire page.

And even in the Smart Client, it's not user friendly to just close the application. You can send a message, but that message will disappear with the application when it's shut down. Normally would be to keep the application open with a message "Session expire" or "Application timeout", something like this. Because when the user is back on the computer, he must see what happens, not just to find that the application was closed for some reasons he's not aware of.

Thanks.
udrescu_bogdan
 
Posts: 336
Joined: Fri Jun 18, 2010 3:27 pm
Location: Craiova, Romania

Previous

Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests