Archive for July, 2008

Authenticated users getting logged out randomly

I was having a problem on a shared server with authenticated users getting logged out every couple of minutes. Turned out to be a simple fix by configuring a static machinekey for the web.config. By default, the authentication key is autogenerated by IIS each time the asp .net process cycles, which can be often on a shared machine.

MS info on MachineKey

Angels Flight

Not his best effort. Bosch’s romantic problems seem bolted on.

Angels Flight (Harry Bosch)

IE6 AJAX problem

I put together a fairly simple chunk of code to display a loading image while a chart was rendering. This used an updatepanel and timer. It ran fine with IE6/7 locally and IE7 remote. But IE6 would not display the image on the remote server. Just a blank page and then the chart.

I looked at a lot of different posts and finally came to the solution. It looks like AJAX will automatically compress output. IE7 can handle this, but IE6 can not. By disabling the default compression, the image now appears in IE6 on the remote server.


<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="false" enableCaching="true"/>
</scripting>
</system.web.extensions>


A similar type of issue.

  1.  

Robert E Lee

About the shortest book I have ever read on the Civil War. Doesn’t go into much detail about the campaigns, which is fine. More focused on what made Lee tick.

Robert E. Lee (Penguin Lives)

Inside the Crosshairs

More of an overall history of weapons development and the creation of US sniper tactics. Not much on individual soldier actions. A bit dull for such an interesting topic.

Inside the Crosshairs: Snipers in Vietnam

The Lincoln Lawyer

The Lawyer by Lawyer genre has gotten a bit tired, so it was interesting to see it from a non-lawyer perspective. Read pretty quick for a thick paperback.

The Lincoln Lawyer : A Novel

Dak To

No holds barred account of the 173rd Airborne Brigade in Vietnam. Generals in helicopters ordering ground troops to assault fortified NVA positions pretty much captures the overall tenor of the book. The descriptions of the battle for Hill 875 are not for the squeamish.

Dak To: America’s Sky Soldiers in South Vietnam’s Central Highlands