How about this for an idea... If you make a phantom program that watches either a file or a directory for an entry with a PID value then the phantom can issue a LOGOUT pid# then deletes the entry. I'm not sure this will work but it's a thought. Then all you have to do is manually make the entry that the phantom is looking for. There might be a problem with trying to LOGOUT a session that is not your own, but again, "It just might be crazy enough to work!"
Good luck, BobW -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angelo Collazo Sent: Thursday, October 05, 2006 1:20 PM To: u2-users@listserver.u2ug.org; [EMAIL PROTECTED] Subject: RE: [U2] SBClient Question - Apply Logout Script to SBCLIENT Stuart or Others, The solution provided here works well when the "logout_script" is executed in normal SBClient logout but when you do a kill PID( I know, not a good practice, but we have users idled for over five+ ours) on it, It does NOT execute the "logout_script" and it shows the "Session Disconnected" and you have to press <enter>. Any solutions or other methods will be appreciated. Cheers, Angelo Collazo System Administrator Angelo, From within SBServer, you can CALL TU.SESSION.CLOSE("") from an exit verb which will close the session without a dialog. Or a script: Script Name: logout_script Trigger String: script_started Trigger Response: [exit_session(265)][script_end()] Assign this script to your logout script in the setup menu. This script apparently only works with the window close button or the file exit menu and so you probably need to use both methods to always suppress the close/save dialog box. I'm not sure if either of these will clean up your sessions/licences like SH.OFF (the normal logout method) does. Cheers, Stuart ______________________________________________________________________ - Create script that will close out SBCLIENT session and not prompt end-user to save changes to session ********************************************************************** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects personal information to provide and market our services. For more information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ********************************************************************** ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/