Saturday, March 31, 2012

Session users

How i can show all current session users like

Session("UserName")What do u mean ? u mean how to display or print a session variable ?

Response.Write(Session("UserName"))

Good Luck.
the Session is only for the context of the current user.

if you want all current users that happen to have a session open, youd need to keep track of that at the application level or in a DB.

perhaps add an entry at session start and remove it at session end.

0 comments:

Post a Comment