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">

No comments: