Best way to check if first time in page?

Results 1 to 3 of 3

Thread: Best way to check if first time in page?

  1. #1
    Tim Westmoreland Guest

    Default Best way to check if first time in page?

    what is the best way to check if the user is accessing a page for the first time?

  2. #2
    Jason Buck Guest

    Default RE: Best way to check if first time in page?

    Give them a cookie. If they don&#039t have it, then they have never been to your page before.<BR><BR>&#060;% If request.cookies("Cookiename")("pagename") &#062; "" Then<BR>response.write "Welcome back"<BR>Else <BR>response.cookies("Cookiename")("pagename")<BR> End if<BR>%&#062;<BR>I hope this helps.<BR><BR>

  3. #3
    Jason Buck Guest

    Default RE: Best way to check if first time in page?

    Give them a cookie. If they don&#039t have it, then they have never been to your page before.<BR><BR>&#060;% If request.cookies("Cookiename")("pagename") &#062; "" Then<BR>response.write "Welcome back"<BR>Else <BR>response.cookies("Cookiename")("pagename")<BR> End if<BR>%&#062;<BR>I hope this helps.<BR><BR>Respectfully,<BR><BR>Jason<BR>webmas ter@wnj.com<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
  •