Month: November 2007
-
ASP.NET Authorization – Out of the Loop
The Problem I have often created projects that have different areas restricted based on user roles. For instance, there might be a section only for administrator and another for power users then another for the general public. I needed a way to ensure users were restricted from accessing pages based on their roles. My solution…
-
Beware Dynamic User Controls in a Web Farm
Many large sites utilize a web farm with a load balancer. The load balancer will cycle through each server in the farm for each request. Today I assumed our load balancer had persistence. I think the text from Wikipedia sums my experience today: “But reliance on persistence can cause problems if the persistence fails.” Come…