Hi.
This requires a little more effort, though not very much.
First, create new class and make there function for saving sessionid to
database and all the needed logic too to do the database stuff. Create
another function that deletes sessionid from database (takes sessid as
an parameter). Create on more function to get the list of sessionid's
which has been saved to database.
Now, the fun part:
In global.asax you have sub "On_SessionStart". Instantiate a new object
from the class you made for saving and deleting sessionid:s.
Get first the sessionid from the current session and pass it to the
sessionid saving method in your class.
In Global.asax is also sub "On_SessionEnd".
Do exact the same, only this time you use the function that deletes the
sessionid from the database.
Now you have sessionid:s stored in the database and they gets updated
and deleted dynamically as clients enter and leave your application.
To get a list of sessionid:s in the database you have to do a listing
page to get sessionid's listed. Page could be in the same application
that your clients uses, or it can be completely aside from that
application because the data exists in the database.
Hope this helps :)
-tom-
--
tomBond
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------