Gracefully Shutting Down Webclient?

Forum to discuss the Web client version of Servoy.

Gracefully Shutting Down Webclient?

Postby chartpacs » Wed Sep 20, 2006 1:43 am

I know you can do this via the server admin page, but how can you do this from a method? According to the documentation, you can manually end a SHC session by using session.setAttribute("servoy", null). How can I similarly end a webclient connection?
Regards,
Servoy Developer
Version 3.1 beta2-build 401
Java version 1.5.0_06-64, Mac OS X 10.4.8
User avatar
chartpacs
 
Posts: 188
Joined: Wed May 10, 2006 6:50 pm
Location: Cleveland, OH

Postby Harjo » Wed Sep 20, 2006 7:42 am

application.exit()
:)
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby chartpacs » Wed Sep 20, 2006 7:48 am

That's it?!? :? For some reason I thought that was reserved for smart clients.

::hanging head in shame:: Thanks
Regards,
Servoy Developer
Version 3.1 beta2-build 401
Java version 1.5.0_06-64, Mac OS X 10.4.8
User avatar
chartpacs
 
Posts: 188
Joined: Wed May 10, 2006 6:50 pm
Location: Cleveland, OH


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 17 guests

cron