Results 1 to 2 of 2

Thread: Cookies

  1. #1
    Join Date
    Dec 1969

    Default Cookies

    I&#039;m trying to write a cookie when a user visits a page and then if they come back to the site within x days redirect them to a different page.<BR><BR>I&#039;ve got the page writing cookies but can&#039;t get it to detect old cookies. Any ideas would be appreciated!<BR><BR>The following code is at the top of each page:<BR><BR>IF Request.Cookies("company").HasKeys Then<BR> Response.Redirect "return.asp"<BR>ELSE<BR> Response.Cookies("company") = Date<BR> Response.Cookies("company").Expires = Date + 30<BR>END IF

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookies

    If Request.Cookies("Company") &#060;&#062; "" Then

Posting Permissions

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