J
jake
I think I may why this is happening but I am a little fuzzy as to what
the solution should be as I am somewhat new to all of this.
My simplified code that generates the error is:
public static string getCartCookieValue()
{
if (Request.Cookies["tepcart"] != null)
{
using (CartServiceClient client = new CartServiceClient())
{
retval = client.getCartId(Request.Cookies["tepcart"].Value);
client.Close();
}
}
return retval;
}
the solution should be as I am somewhat new to all of this.
My simplified code that generates the error is:
public static string getCartCookieValue()
{
if (Request.Cookies["tepcart"] != null)
{
using (CartServiceClient client = new CartServiceClient())
{
retval = client.getCartId(Request.Cookies["tepcart"].Value);
client.Close();
}
}
return retval;
}