Melancholy Nonsense

Forms Authentication Timeout

April 24th, 2008 by stephanie

At work I get to work on a lot of different applications that I didn’t write.One of the problems I’ve inherited was an application that was using forms authentication, which is kind of rare for our apps. And had a time out set in the web config. So of course I thought the time out was as simple as just changing the number in the web config. Nope.The timeout was actually being over ridden in the code. So after doing a search of the entire solution for FormsAuthentication I found the section that was overwriting the time out. It was set to 10 minutes. So unfortunately something that should have been just a simple web.config change turned out to be a code change. And idea but I found it here: http://weblogs.asp.net/owscott/archive/2006/07/15/Forms-Authentication-Timeout.aspx

Posted in C#, Asp.NET, Work | 1 Comment »

Extender Controls May Not Be Registered Before Prerender

April 4th, 2008 by stephanie

I’ve been meaning to start blogging about technical stuff forever so here goes the first one.

Extender Controls May Not Be Registered Before Prerender

Chances are if you see this one you are missing a call to Base.OnPreRender(e) in the overide of the OnPreRender event. Adding the function call there will fix the problem. Apparently this wasn’t an issue in the first release of ajax, when I recieved it, it was after upgrading a perfectly fine app to the newest version of Ajax.

Here’s the link I found the solution at: http://aspnetresources.com/blog/controls_may_not_be_registered_before_prerender.aspx

Posted in C#, Asp.NET, Ajax, Work | 3 Comments »