Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get all session data from server?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01233840
Message ID:
01235208
Vues:
22
>Thanks for your reply.
>
>I want the administrator able to see who already login and using the application. The administrator can terminate the user, who is using the application. This may change the value of the session. Can this be done by modifying the session stored in SQL Server? Or is there any better solution?

As I already said you can't do that. Session objects are not enumerable beyond the current session.

You can use Application_SessionStart and Application_SessionEnd to do your own tracking of users although I'll tell you that this likely will not be very accurate anyway unless your session timeout is very short.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform