Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
You can find a much more advanced version of this here:http://univar.codeplex.com[^]The version provided on the download page is soon to be deprecated by the upcoming version 2.0b however. The latter is available here instead:http://univar.codeplex.com/SourceControl/list/changesets[^]
This can be automated and streamlined with generics. First, create a SessionVariable class:public class SessionVariable{ private string VariableName { get; set; } private System.Web.SessionState.HttpSessionState Session { get; set; } public T Value { get ...
23 Jun 2011#realJSOP 5 alternatives
One way to guarantee uniqueness and avoid misspelling your session variable names
I came with another one. I happen to love Lambda expressions. The idea is to extend this base class:public class SafeSessionBase{ HttpSessionState _session; public SafeSessionBase(HttpSessionState session) { _session = session; } protected TResult...
This is an alternative for "No More Session Variable Misspellings"
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.