public bool Test(string sessionKey, string perValue)
System.Collections.IEnumerable list = (System.Collections.IEnumerable)GetSession(sessionKey);
foreach (string item in list)
if (item == perValue)
}NB: You should avoid using
ArrayList. It's an old collection from before the introduction of generics. Use
IRequiresSessionState on your
SessionHandler class won't make any difference. That interface is only used on the
IHttpHandler which handles the request. For a WebForms page, that is controlled by setting the
EnableSessionState property in the
<%@ Page ... %> directive.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."