Server.Transfer / Response.Redirect

Server.Transfer and Response.Redirect are causing a new page to be processed, but the big difference is how they are doing it. –          Server.Transfer terminates the execution of the current request (Response.End) and begins execution of a new request using the supplied url. No trip back to client is performed. –          Respose.Redirect creates a special header,…

1

ArgumentException when adding objects in Session: Item has already been added to the dictionary

Did you ever see this ArgumentException when you innocently tried to add something to session? I recently saw an instance when someone got this exact error. Basically, they had a couple of pages that ran just fine most of the times; but under high load, one page threw this error at random times: [ArgumentException]: Item…

2