Tuesday, January 25, 2011

Resolved : Debugging Timeout on IIS 7 And Visual Studio

In IIS 7 go to the Application Pools and select the Advanced Settings for the pool which you process runs in. In the Process Model section you can do one of two things;

* Set the Ping Enabled property to False. This will stop IIS checking to see if the worker process is still running and keep your process alive permanently (or until you stop your debugged process)
* If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).

Wednesday, January 12, 2011

Sticky Footer Or Footer At bottom of the web page

Check the following articles that explain the css hack to keep footer at bottom of the page.
http://ryanfait.com/resources/footer-stick-to-bottom-of-page/

http://ryanfait.com/sticky-footer/
http://www.cssstickyfooter.com/
http://www.cssstickyfooter.com/using-sticky-footer-code.html

In case, above links are not working, check below.
CSS::

* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
.footer, .push {
height: 4em;
}



<html>
<head>
<link rel="stylesheet" href="layout.css" ... />
</head>
<body>
<div class="wrapper">
<p>Your website content here.</p>
<div class="push"></div>
</div>
<div class="footer">
<p>Copyright (c) 2008</p>
</div>
</body>
</html>

Multicolumn Layout With Sticky Footer

Add clear to the .push div
.footer, .push {
clear: both;
}