Browse by Tags

Why do ASP.NET sessions not shared between multiple IE processes
It was always one of the axioms in the back of my mind that when you open a window in Internet Explorer using Ctrl+N it has the same session in ASP.NET apps like it’s parent window, but if you run a new process of Internet Explorer it has a different session. Well… today I had to check why does it happen. The first step is to get familiar with two different kinds of cookies: the first is a cookie with an expiration date (AKA persistent cookie ) this cookie will be saved to the disk and will be available...
Embedded resources in XSL files
If you ever worked with embedded resources you probably know the required steps for embedding resources: Setting the build action to “Embedded Resource” in the file properties. Adding a web resource attribute with the file (best practice is to add this line in the AssemblyInfo.cs file) the first parameter is the default project namespace + the filename and the second parameter is the mime-type: [assembly: WebResource( "Namespace.Filename.gif" , "image/gif" )] The WebResource attribute...