First of all I must say that I am a newbie when it comes to net language.
This is my problem.
In ASP 3.0 code, this is what I use to set the cookie:
<%@ Language="VBScript"%>
<%
Response.Cookies("MyCookie") = "some value and other characters such as #, $, and so on"
Response.Cookies("MyCookie").Path = "/"
Response.Write(Request.Cookies("MyCookie"))
%>
but I need read this cookie generate with ASP 3.0 code with .NET and use:
<%@ Page Language="C#" AutoEventWireup="true" %>
<%@ Import Namespace="System.Web.HttpResponse.Cookies" %>
I get the following error:
system.web.httprequest.cookies cannot be used like a method
Can you help me? thank you in advance.
Your help would be very appreciated
VulpesPosted Apr 3, 2012, 3:59 PM
");
");
");
");
Chevy Mark SunderlandPosted Apr 3, 2012, 4:36 PM
Thanks you very much for your help.
I'm really happy for your quickly answer.
Good bye