Sunday, January 8, 2012

Configuring SMTP in Windows Server 2008

Before you read this post, if you find yourself needing to configure SMTP, there is already something wrong. There are a lot of cloud-based email providers and you should take advantage of them. Using SMTP should be only a temporary solution to your email needs. Anyway, it's really simple and it doesn't take more than 10 minutes. Just follow these instructions http://www.itsolutionskb.com/2008/11/installing-and-configuring-windows-server-2008-smtp-server/

Saturday, January 7, 2012

Duplicate POST in JQuery mobile

Last week I was looking at the requests made by a JQuery application, and I noticed that a POST was being executed twice. After doing some debugging, I thought this was a JQuery mobile issue since my code was doing only one POST. There's nothing more undesirable because we didn't want to change the JQuery mobile code, and even though JQuery mobile does frequent releases, we needed the fix right away.

Long story short, it turned out the whole problem was caused by an IMG tag with an empty src attribute. In other words, we had <img src="" alt....>. It's hard to explain why this error can cause a double POST.