R
Reena
Hi,
Working on .NET 2003. Using C# as server code.
I have created a class with following code...
using System;
using System.Data.OracleClient;
using System.Web;
using System.Web.SessionState;
namespace RADWebV5.RADAsp.Class
{
public static string LogOn(string UserID, string Password)
{
try
{
HttpCookie cookieABC = Request.Cookies["ABC"];
if (null == cookieABC || cookieABCToString() == "" ||
cookieABC.ToString() != "CI")
{
Response.Cookies["ABC"] = Session["PrimaryCI"];
}
}
catch (Exception err)
{
return err.Source
}
}
__________________
Error while compiling...
The type or namespace name 'Request' could not be found (are you missing a
using directive or an assembly reference?)
The type or namespace name 'Response' could not be found (are you missing a
using directive or an assembly reference?)
_____________________
Not sure what is missing?
Thanks,
- Reena
Working on .NET 2003. Using C# as server code.
I have created a class with following code...
using System;
using System.Data.OracleClient;
using System.Web;
using System.Web.SessionState;
namespace RADWebV5.RADAsp.Class
{
public static string LogOn(string UserID, string Password)
{
try
{
HttpCookie cookieABC = Request.Cookies["ABC"];
if (null == cookieABC || cookieABCToString() == "" ||
cookieABC.ToString() != "CI")
{
Response.Cookies["ABC"] = Session["PrimaryCI"];
}
}
catch (Exception err)
{
return err.Source
}
}
__________________
Error while compiling...
The type or namespace name 'Request' could not be found (are you missing a
using directive or an assembly reference?)
The type or namespace name 'Response' could not be found (are you missing a
using directive or an assembly reference?)
_____________________
Not sure what is missing?
Thanks,
- Reena