Terminal server logging users out

Hello all,

We’ve gotten a few complaints about users being logged out when they were
using our webapplication using Terminal Server (most likely when more than
one user is using the same Terminal Server). We have a check in our
application that checks if the user’s IP address is the same as the IP
address in his session (it gets stored there when he logs in). I don’t know
much about Terminal Server, but does it alternate IP addresses for users.
Has anyone had any experience with this, and might know a solution for the
logouts (either in the application or in Terminal Server). Hope to hear
from you!

Marcel

I would doubt its your terminal server, but the code that handles logins.

The solution would be to ignore login checks from whitelisted ip
address(es), such as your terminal server.

you can still store the sessions, you will just not check against what ever
ip address(es) you set that are whitelisted.

Do you need someone to actually recode this for you? If you cant find
anyone else email me at @Terry_WhitneyOn Friday, April 8, 2016 at 7:29:32 AM UTC-4, Marcel van Langen wrote:

Hello all,

We’ve gotten a few complaints about users being logged out when they were
using our webapplication using Terminal Server (most likely when more than
one user is using the same Terminal Server). We have a check in our
application that checks if the user’s IP address is the same as the IP
address in his session (it gets stored there when he logs in). I don’t know
much about Terminal Server, but does it alternate IP addresses for users.
Has anyone had any experience with this, and might know a solution for the
logouts (either in the application or in Terminal Server). Hope to hear
from you!

Marcel

Hello Terry,

I’m sorry I wasn’t clear. It’s not my Terminal Server, it’s from a client
that uses Terminal Server. But still your idea to whitelist any requests
from that specific TS is not a bad idea. To get a better view of the
problem we’ve changed our programming a little. We’ve added an exception
for this specific client. Instead of logging out, they see both the IP
addresses (the one from their session and the one that they are using at
the moment) on screen. With this information, we can look at the problem in
more detail.