Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get all session data from server?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01233840
Message ID:
01235208
Views:
23
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform