Managing Session Variables in ASP.NET using a Proxy(blogs.riskotech.com)

submitted by riskfactorriskfactor(35) 2 years, 9 months ago

Every developer who has ever worked with ASP.NET in a large solution knows how quickly Session variables can get out of control. From the lack of strongly typed references to the potential misspellings of the variable names, the problems are always with us. The good news is that there is a better way to handle objects in the Session. The key is to develop a proxy class that will provide a set of strongly typed properties to store and retrieve objects in the HTTPSessionState object.

add a comment |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story