cancel
Showing results for 
Search instead for 
Did you mean: 

disconnect when terminal session ends

SonicBoom_
Regular Contributor

disconnect when terminal session ends

is there a way to end a user session when the user logs off from terminal server? i have terminal server auto launching to get the user right into TS without stopping at the juniper launch page, but when the user logs out of TS, he is sent back to the launch page, of course the only option available is to reconnect to TS but this will have international access and i just want them to be disconnected all together.

3 REPLIES 3
zanyterp_
Respected Contributor

Re: disconnect when terminal session ends

No there is not; users will need to signout.

One option is to enable UI options for the role in question and in the notification message section at the bottom create a message (some basic HTML tags are accepted if desired, the <a> is one of them) that indicates to the users they need to sign out using the button (or by using the logout link, see below, in the HTML message shown).

Another option that *may* work, that I can't test right now but will try to this week, would be to configure the following (if possible):

1) Keep the TS auto-launch enabled

2) Configure the start page to a custom page on your LAN that doesn't have anything on it except maybe text to logout or possibly you could call the logout option programmitacally on the page (https://<yourIVE>/dana-na/auth/logout.cgi)

Note that in either case if you use the logout link, you will need to have a don't rewrite with redirect policy for your IVE.

SonicBoom_
Regular Contributor

Re: disconnect when terminal session ends

thanks zany, right now i pretty much had your option #2 in effect, all the user sees is Sign out button, TS is set to auto launch, so when they user signs in they go straight to terminal server, but when they go to log off of TS the user is now at the main page and can't really do anything since #1 there are no other links but terminal server, and #2 WSAM is not running, i will set the start page set to https://<yourIVE>/dana-na/auth/logout.cgi, to see if that works, thanks.

tried to call logout with address noted above but looks like nothing happened, im wondering if i can enable host checker policy to look for TS to be running and if not, start it, and once the user exits it signs them out... might be a little drastic.

zanyterp_
Respected Contributor

Re: disconnect when terminal session ends

you are welcome sonicboom, good luck!

let me know how it goes?