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

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Mar 27 17:37:23 EST 2003

El jue, 27 de 03 de 2003 a las 21:27, Stefan Görling escribió:
> 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...?

We don't support Session yet. However, that's probably easy to
workaround using other alternatives (cookie + DB or cookie + global.asax


More information about the Mono-devel-list mailing list