G
Guest
Hi
I referred to the MS kb#316748, and was trying to update the Global.asax,
instead of putting it directly to the file, I created a file Global.cs and
set *.asax to inherits from this *.cs file
then when I tried to compile this file, I got an error with this line
HttpCookie authCookie = Context.Request.Cookies[cookieName];
-- error --
Global.cs(94,13): error CS0246: The type or namespace name 'Context' could
not
be found (are you missing a using directive or an assembly
reference?)
How do I access the Context object here please?
TIA
--
I referred to the MS kb#316748, and was trying to update the Global.asax,
instead of putting it directly to the file, I created a file Global.cs and
set *.asax to inherits from this *.cs file
then when I tried to compile this file, I got an error with this line
HttpCookie authCookie = Context.Request.Cookies[cookieName];
-- error --
Global.cs(94,13): error CS0246: The type or namespace name 'Context' could
not
be found (are you missing a using directive or an assembly
reference?)
How do I access the Context object here please?
TIA
--