Jul
30
2009
0

Automatically Log Off Disconnected RDP Users

It’s tempting and easy to just close Remote Desktop Sessions rather than log off. Unfortunately, this can cause problems where only one or two sessions are allowed to be open at a time.

If you’re Windows license only allows 1 open connection, it can be easy to leave your own session connected and then bar entry again in the future.

Cameron over at Sumo Consulting posted the steps to automatically log off RDP users when they close their windows rather than properly logging them off.

I set mine to log them off 10 minutes after they close the window.

Here are his instructions:

  1. On the server, go to "Start > Programs > Administrative Tools > teminal Services Configuration"
  2. Select "Connections", then right click on RDP-Tcp and select Properties
  3. Select the Sessions tab and Check the "Override user settings" checkbox.
  4. Choose the criteria under which you’d like to start killing off sessions.
Written by Tom in: Uncategorized | Tags: ,
Jul
20
2009
0
Jul
07
2009
4

IE5 and IE6 CSS Hacks

Wow! That was annoying. As most know, IE5 and IE6 both tend to misinterpret standard CSS forcing us to resort to hacks designed to make them comply and display correctly.

I just recently found two very useful resources when it comes to making div tags float and pad correctly:

First explains and gives a fix for the odd fact that IE5 and IE6 will double the left margin of an element that has a float:left in it.

The fix is awesomely simple. You just set display:inline;.

http://www.positioniseverything.net/explorer/doubled-margin.html

The other explains gives a fix for the fact that IE5 and IE6 treat padding differently. Per CSS specifications, padding should add to the overall width. So, if you have a 100px div tag with 20px padding on all sides, it should be 140px wide.

The previous versions of IE keep the width exactly and simply pad inward rather than outward. All fine and dandy, except all other browsers don’t.

This is a bit more complicated, here’s the overall hack:
div.content {
width:400px;
voice-family: "\"}\"";
voice-family:inherit;
width:300px;
}
/* CSS1 UAs should see and use 2nd width */

html>body .content { width:300px }

http://tantek.com/CSS/Examples/boxmodelhack.html

Written by Tom in: CSS | Tags:

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes