End Session problems

Get help with troubleshooting issues
Post Reply
MHildebrandt
Posts: 5
Joined: Sun Apr 08, 2018 8:24 pm

End Session problems

Post by MHildebrandt » Sun Apr 08, 2018 8:33 pm

We are in the process of putting our Visual Foxpro 9 application onto TSPlus and are doing fine mostly,
BUT are encountering strange behaviour when the client closes a session by pushing the "End Session" button:

The application is terminated and sometimes corrupts local tables.

All is fine when we just close the browser windows and after the timeout (1 minute at the moment) the session is closed in the background.
In this case the application close all tables and shuts down properly just the way it behaves when it runs standalone and the user logs out or shuts down his PC.

We where expecting "End session" to just do the same.

Why doesn´t it?

And how to fix this?

Best

M. Hildebrandt

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: End Session problems

Post by admin » Fri Apr 13, 2018 1:41 pm

Hello,

This is a frequent issue that occurs when you published and assign a single application.

This means your application may not be suitable to be published as a unique application.
What happens frequently is that your application closes to launch a new application, and in this gap of time TSplus detects that no applications are running and logs off your remote session, eventually corrupting table in the process because your application was not closed properly during this process.

I recommend you to use the remote desktop or floating panel / remote taskbar. More information about this can be found here : https://www.terminalserviceplus.com/doc ... top-themes
Olivier
TSplus support team administrator
Image

MHildebrandt
Posts: 5
Joined: Sun Apr 08, 2018 8:24 pm

Re: End Session problems

Post by MHildebrandt » Mon Apr 16, 2018 9:03 am

Perhaps I wasn´t clear enough about this:

We do not publish a single application and there are no restarts on the application side.

Instead we use the remote taskbar.

There is a button on the upper right corner of the screen that has no label but the windows logo on it.
Since there is no label and the button ends the TSPlus session I called it the "End Session" button.

And the error that I described in my original post occurs when this button is pressed and the application is still running.

Best

M.Hildebrandt

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: End Session problems

Post by admin » Tue Apr 17, 2018 1:21 pm

Hello,

Could you try by assigning the full remote desktop application instead of the remote taskbar ? Most probably this application needs a full remote desktop in order to close properly.
Olivier
TSplus support team administrator
Image

MHildebrandt
Posts: 5
Joined: Sun Apr 08, 2018 8:24 pm

Re: End Session problems

Post by MHildebrandt » Wed Apr 18, 2018 1:21 pm

I can certainly try.

But how does that explain that the application is closing just fine when I just close the browser tab?!?

- MHi

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: End Session problems

Post by admin » Wed Apr 18, 2018 9:10 pm

Hello,

If you close the browser tab without hitting the log off button then your session will enter a disconnected state before actually log off. This can be set in the admin tool / server tile / Group Policy
Olivier
TSplus support team administrator
Image

MHildebrandt
Posts: 5
Joined: Sun Apr 08, 2018 8:24 pm

Re: End Session problems

Post by MHildebrandt » Thu Apr 19, 2018 7:29 am

I´m not sure if you are aware of this, but you are explaining the things that I wrote in my original message.....

The point still is: TSPlus has a fault. The logoff button (and end session) works not as if you close a session under Windows.

It works OK if the session ends automatically in the background. It does not when it is closed manually.

And if that wasn´t clear: Please fix this.

Best

- Martin

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: End Session problems

Post by admin » Thu Apr 19, 2018 3:34 pm

Hello,

If you can provide me with an admin access to your server by creating a support ticket here, I should be able to diagnose this issue that is specific to your environment : https://support.tsplus.net/
Olivier
TSplus support team administrator
Image

Post Reply