How do you right from a recordset to a cookie

Results 1 to 2 of 2

Thread: How do you right from a recordset to a cookie

  1. #1
    Join Date
    Dec 1969
    Posts
    572

    Default How do you right from a recordset to a cookie

    I am trying to right the single value of a record set to a cookie that is based on the users choice from a seperate record in the set. I am trying to do this with an onclick, however it only will return the first value of rs("1") Any ideas would be appreciated. <BR><BR>&#060;a target="contents" href="other page"&#062;<BR>&#060;td onclick="&#060;%Response.Cookies("name")("subname" )=rs("1")%&#062;"&#062;<BR>&#060;%=rs("2")%&#062;< BR>&#060;/td&#062;&#060;/tr&#062;&#060;/a&#062;

  2. #2
    MARLIN Guest

    Default RE: How do you right from a recordset to a cookie

    NOT SURE WHAT YOU&#039VE TRIED - IF THIS IS ALL OF YOUR CODE BUT SEVERAL IDEAS OCCUR.<BR>USE ONCLICK SUBROUTINE WITH CASE SELECT - THEN FOR EACH CHOICE AVAILABLE<BR>EACH CASE WOULD SET A VARIANT TO "WHATEVER(1)" OR WHATEVER(X)<BR>THEN THIS WOULD OBVIOUSLY BE YOUR VALUE FOR YOUR COOKIE.

Posting Permissions

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