Author Archives: Vervelogic

About Vervelogic

Vervelogic --

Revisiting ASP.NET Session State Locking

I was recently working on classic WebForm asp.net file upload task for one of my customers. He wanted to show the actual progress of the file being uploaded. For that, I used Session variable to keep track of every bit saved to disk and how much is left that keeps getting updated from the page doing the upload task. To show continuous progress to the user, I created one more web method to display the progress by doing a look up on Session variable.

Interestingly, I started seeing strange issues. Access to web method from my jQuery plugin was blocked…

Cross site scripting: Common threats in web applications

Introduction

The HTML output used to create the front end of the web applications generally contain some client side executable code. This code runs at the client end, and helps to give some performance boost as well as common validations to be performed at the client end. Another use of this code could be showing ‘hot images’, i.e. mouse rollover images at the client end.

To achieve this target, there are a number of popular technologies available, e.g., JavaScript, VBScript, ECMA script (European Computer Manufacturer Association). All these scripts run at the browser of the end user and provide…

Troubleshooting Web Application Performance

Every app is different and every server is different. It’s only through extensive understanding of the application that decision can be made to improve its performance. There are no specific set of rules we can define that will ensure app will run with great performance on a given server. Only thing we can do is to come up with a framework/checklist that we might want to review.

So let’s start by defining key performance pillars:

End user – defines performance of the site as viewed by the end user. For example, do customers notice that how long it takes…

Troubleshooting Web Application Performance

Every app is different and every server is different. It’s only through extensive understanding of the application that decision can be made to improve its performance. There are no specific set of rules we can define that will ensure app will run with great performance on a given server. Only thing we can do is to come up with a framework/checklist that we might want to review.

So let’s start by defining key performance pillars:

End user – defines performance of the site as viewed by the end user. For example, do customers notice that how long it takes…