New Session ID

Results 1 to 2 of 2

Thread: New Session ID

  1. #1
    Join Date
    Dec 1969

    Default New Session ID

    I want to run a script, only when the person first comes to the there a function or a command that I can use to see if a user already has a session ID?<BR><BR>eg.<BR>If &#039;New Session&#039; run onload script<BR>Else skip onload script<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: New Session ID

    if you mean when they come to the site then navagate back to the first page you can use <BR><BR>session("yoursession") = "yes" <BR><BR>and check for this when the page loads up. <BR><BR>if session("yoursession") = "yes" then <BR> &#039;page seen before... <BR>else<BR><BR>end if.. <BR><BR><BR>or if you want the site to remember that they have come when they next come back you should use a 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