cookie problem

Results 1 to 2 of 2

Thread: cookie problem

  1. #1
    Join Date
    Dec 1969

    Default cookie problem

    I&#039m trying to set a cookie property but it isn&#039t working right. Can anyone see a problem with the code below?<BR><BR>if trim(request.form("days")) = "" then<BR>days = 7<BR>else<BR>if request.cookies("board")("days") = "" then<BR>response.cookies("board")("days") = trim(request.form("days"))<BR>response.cookies("bo ard").expires = Date+365 <BR>end if<BR>days = trim(request.form("days"))<BR>end if

  2. #2
    seenu Guest

    Default RE: cookie problem the code is fine it works

    hi geoff,<BR> it works fine.. just check out whether cookie is enabled<BR><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