Friday, January 28, 2011

Umbraco Debug Script


Add this to your bookmark can be easier to debug Umbraco Macro error

javascript:window.location=window.location+'?umbDebugShowTrace=true';

Wednesday, January 12, 2011

Session in Umbraco

After looking around to fix things, finally I reliase that my session is always null in Umbraco.

Which is unexpected accident for umbraco, and after couple hours, luckily I found the reason and how to solve it.

Here is the reference.

http://our.umbraco.org/forum/developers/extending-umbraco/4433-Accessing-Session-State-in-User-Control

you just need to add in web.config if you use IIS7

<modules runAllManagedModulesForAllRequests="True">

Tuesday, January 11, 2011

Alternative not to use Captcha

 

· Reason why not to use captcha

  • Most people hate filling out Captchas.
  • It doesn't stop human spammers (they fill out your form manually).
  • Spam software these days can break through simple Captchas.
  • If you make your Captcha harder, you may block legit users.
  • Blind people can't get past Captchas.

 

· Simple solution just add 1 more input field hidden by CSS – this need to be check if it is filled means it’s filled by bot.

http://damienkatz.net/2007/01/negative_captch.html

· More explanation : http://nedbatchelder.com/text/stopbots.html