Hvis du vil have den information, tror jeg du er nød til at gemme den hver gang en ny session bliver oprettet. Dette kan gøres i global.asa i event-rutinen Session_OnStart, nogenlunde således (global.asa skal ligge i websitets rod-mappe eller den virtuelle mappes rod):
<script runat="server"> Sub Session_OnStart() Application.Lock sesIds = Application("SessionsIDs") sesIds = sesIds & "[" & Session.SessionID & "]" Application("SessionsIDs") = sesIds Application.UnLock End Sub
Sub Session_OnEnd() Application.Lock sesIds = Application("SessionsIDs") sesIds = replace(sesIds, "[" & Session.SessionID & "]", "") Application("SessionsIDs") = sesIds Application.UnLock End Sub </script>
OK, så er vi da enige om hvordan man kan løse det :)
Tak for point :)
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.