Posts Tagged ‘ASP.NET’

Session state has created a session id, but cannot save it because the response was already flushed by the application.

February 3rd, 2009 by jf | comments 1 Comment | categories Filed in .NET, ASP.NET, C#, Cool Stuff, Internet Articles, My Life, Tech, Web, Work

Lately i started getting an Exception of the type [HttpException] with message: Session state has created a session id, but cannot save it because the response was already flushed by the application.

?View Code CSHARPType : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Session state has created a session id, but cannot save it because the response [...]

tagsTags: , ,

ASP.NET: HyperLink and Label without Id attribute

August 4th, 2008 by jf | comments 1 Comment | categories Filed in .NET, ASP.NET, C#, SEO, Software, Web

Today, I’ll talk a bit about how ASP.NET handles HTML rendering of controls such as <asp:HyperLink> and <asp:Label>.  If you have developed using ASP.NET you must have noticed that when an <asp:Hyperlink> or <asp:Label> is rendered you will find something like that:

?View Code HTML<html>
 
<a id="ctl00_ContentPlaceHolder1_rptShoppingCart_ctl00_lnkGotoCheckout" href="#" class="someCss">delete</a>
 
</html>

From an ASP.NET point of view, this is fine, [...]

tagsTags: ,

Exception: Collection was modified; enumeration operation may not execute.

May 28th, 2008 by jf | comments No Comments | categories Filed in .NET, ASP.NET, C#, Work

It’s been a while that i didn’t get this Exception, while working, and yesterday, while I was performing some test on  a new module that I implemented i got this exception. I knew i did get it sometimes back last year, and managed to solve it. So here is one solution when you are dealing [...]

tagsTags: , ,