Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T. September 2008 Entries
Firefox 3 ignores cache control http headers - security risk for online apps!
If a user, using Firefox 3, signs out of a web site and does not close the browser, anyone else using that browser subsequently can view the content of pages loaded by the previous user (eg in an internet cafe, or any place where workstations are shared eg universities) - exposing private/confidential data. This only affects HTTP post requests (not gets) and only Firefox version 3 - earlier versions (1.5, 2 etc), and IE, are not affected. The main points are: This is definately a bug: a violation ......

Posted On Friday, September 26, 2008 3:17 PM

ASP.NET SQL Server error: The connection was not closed. The connection's current state is open
The following error occured when 2 requests hit an ASP.NET (2.0) web app (using SQL Server 2005) at the same time: The connection was not closed. The connection's current state is open Normally this only occurs if you have a connection that is not being closed. However in our case all connections where being closed using a try-finally block (personally I prefer using a using block). This error only occured when the 2 request were initiated from different machines. It turns out that the error occured ......

Posted On Tuesday, September 9, 2008 12:48 PM

Task Oriented Programming
For some time I've been wondering if there's a better way to program business logic. Years ago I used to write COBOL, then moved onto a 4GL, bla bla bla... and today I find myself well entrenched in OO with Microsoft's .Net. Development times don't seem to be much better these days - and the complexity of things seems to have mushroomed. We went from barely-a-3GL to 4GL back to 3GL plus an explosion of things you need to consider. We started with procedural code then moved to OO and seem to have ......

Posted On Tuesday, September 9, 2008 12:10 AM

CSS Absolute positioning in Firefox and IE
A couple of notes regarding absolute positioning in FF and IE... Specifying position values: IE allows you to omit the unit of measurement for Left and Top. It assumes pixels eg: = 10; However FF requires that you specify the unit of measurement eg: = "10px"; Using other elements parents to calculate your object's position: The scenario might be you have a div that you want to position over or by another object - but that object has no position values. In this case I ......

Posted On Saturday, September 6, 2008 9:57 AM

Copyright © Tim Huffam | Powered by: