The Session.LastHit property is not script-specific -- it is populated after each request, regardless of which script is called. Depending on your needs, you can either store the last hit timestamp for a specific script in a session variable, or you can use a cookie. Session variables are lost once the session expires, while cookies can stay around for a while if you provide an expiration date.
Sent by Pete Cuiry on 06/05/2003 04:20:05 AM:
Is the LastHit property populated with the date/time of the last Foxweb script executed without regard to which script?
Here's the scenerio: I want to find out when the user last requested scriptA.fwx.
Would I need to add a session variable and set it myself for a particular script?