End Session problems
-
- Posts: 5
- Joined: Sun Apr 08, 2018 8:24 pm
End Session problems
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
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
Re: End Session problems
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
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

TSplus support team administrator

-
- Posts: 5
- Joined: Sun Apr 08, 2018 8:24 pm
Re: End Session problems
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
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
Re: End Session problems
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.
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

TSplus support team administrator

-
- Posts: 5
- Joined: Sun Apr 08, 2018 8:24 pm
Re: End Session problems
I can certainly try.
But how does that explain that the application is closing just fine when I just close the browser tab?!?
- MHi
But how does that explain that the application is closing just fine when I just close the browser tab?!?
- MHi
Re: End Session problems
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
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

TSplus support team administrator

-
- Posts: 5
- Joined: Sun Apr 08, 2018 8:24 pm
Re: End Session problems
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
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
Re: End Session problems
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/
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

TSplus support team administrator
