|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Application object
My asp application allows a number of users to log into it. Each user has a different type of access level (General User, Manager or Administrator). I want the administrator to be able to see how many other users are logged into the application at a particular time. How can I do this?????
Would the use of an application object work for this??? |
|
#2
|
|||
|
|||
|
As long as you have sessions enabled, it is quite easy.
In your global.asa file: PHP Code:
you can then get the value of the people connected by reading the Application("Count") variable. This of course assumes that to access any part of your site you have to log in. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Application object |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|