what assemblies do you have to include for this code to work? I tried:
using System.Web;
using
System.Web.SessionState;
without success.
(edit: Error 363 An object reference is required for the non-static field, method, or property 'System.Web.HttpContext.Session.get' myproject\Controllers\HomeController.cs ...
ralgomes
Member
2 Points
3 Posts
Re: Session State
Apr 15, 2008 11:43 PM|LINK
what assemblies do you have to include for this code to work? I tried:
using System.Web;
using
System.Web.SessionState;without success.
(edit: Error 363 An object reference is required for the non-static field, method, or property 'System.Web.HttpContext.Session.get' myproject\Controllers\HomeController.cs ...