MVC Controllers and Forms Authentication

Posted by: Nikhil Kotharis Weblog, on 19 Dec 2008 | View original | Bookmarked: 0 time(s)

I've been re-implementing portions of my site (projects.nikhilk.net) using ASP.NET MVC. One of the things I had to implement was login/logout functionality.When you create a new ASP.NET MVC Application, you get a sample AccountController that has Login/Logout actions. This controller depends on an IFormsAuthentication implementation. There is a default implementation of this interface within the sample that works against the underlying System.Web.Security.FormsAuthentication APIs (SetAuthCookie and...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 3331 | Hits: 402

Similar Posts

  • Idle Timeouts in RIA Services Authentication more
  • ASP.NET MVC2 Preview 2: Areas and Routes more
  • MvcContrib working on Portable Areas more
  • Starter Project Templates (VS 2010 and .NET 4.0 Series) more
  • MvcContrib version control has moved to GitHub more
  • The ASP.NET MVC ActionController The controllerless action, or actionless controller more
  • Securing Applications Built on Silverlight and WCF more
  • You should NOT use ASP.NET MVC if. . . more
  • Web Forms vs. ASP.NET MVC more
  • MvcContrib v1.0 Released! Download now more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD