[Mono-devel-list] Status of Session support in xsp?

Stefan Görling stefan at gorling.se
Thu Mar 27 15:27:19 EST 2003


Hi,

I'm playing around a bit with xsp, everything seems to work fine until i 
try to store data in a session variable. Is it not implemented, or have 
I configured something wrong?

My test case:
<%@ Page Language="C#" EnableSessionState="true"%>
<%
  System.Web.HttpContext context = System.Web.HttpContext.Current;
  context.Session["test"]="testing";
%>

Throws a NullReferenceException as the Session property is null. Is this 
a bug or a feature? I'm fairly new to C#, so it might very well be  an 
user error...?

Best Regards,

Stefan Görling




More information about the Mono-devel-list mailing list