For Each Item in Session.Contents
If IsObject( Session.Contents(Item)) Then
Response.Write Item & " is an object.<BR>"
Else
Response.Write Item & "=" & Session.Contents(Item) & "<BR>"
End If
Next
Utifrån detta får du alltså bygga en funktion som kollar vilka värden dom har... dina kriterier...
------------------ Budweiser - Slightly contaminated water... probably harmless, but I would recommend boiling before you drink it... webEye.nuSweQuake.com
Siffran du söker ligger i "Session.Contents.Count"...
Den siffran inkluderar då Session.SessionID, så vill du inte räkna den så får du ta: "Session.Contents.Count-1"
------------------ Budweiser - Slightly contaminated water... probably harmless, but I would recommend boiling before you drink it... webEye.nuSweQuake.com
288 ms totalt · 4 externa anrop · v20260731065814-full.a51de22e