Results 1 to 2 of 2

Thread: Cookie

  1. #1
    Join Date
    Dec 1969

    Default Cookie

    &nbsp;<BR>Hi, <BR>In my asp page i have the following code: <BR>&#060;% <BR>If Not Request.Form("Name") = "" Then <BR>Response.Cookies("Name") = Request.Form("Name") <BR><BR>end if <BR>%&#062; <BR>&#060;html&#062; <BR><BR>In my aspx page i have the following: <BR>Public Class COOKIES <BR>Inherits System.Web.UI.Page <BR>Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load <BR>Dim NAME <BR>NAME = Request.Cookies("Name") <BR>Response.Write(NAME) <BR><BR>However the aspx doesn&#039;t seem to recognise the cookie. why? <BR>

  2. #2

    Default RE: Milk

    Does it .Write "HttpCookie"?<BR><BR>Try using Request.Cookies("Name").Value<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts